Categories
- Business Objects (3)
- Best Practices (2)
- Fusion Charts (5)
- Main (3)
- SQL Server (1)
- SSIS (1)
- Uncategorized (1)
- Universe Design (3)
- Web Intelligence (4)
- Xcelsius (7)
- Design Practices (1)
- Excel (1)
- Tips and Tricks (2)
- Workarounds (1)
Archives
- February 2010
- January 2010
- October 2009
- August 2009
- April 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
Tag Cloud
auto increment
best practices
bonavista
bulletgraph
Business Objects
charting
charting package
conditional formatting
content management
dashboard
datatable
dianne sawyer
dom
Excel
expand
fannie mae
fix
flash charts
fred carter
frederick carter
free
Fusion Charts
grid component
imt slider
inovista
java
javascript
Java Wrapper
microcharts
pathway technologies
populate dimension table
ripoff
scam
sorting
sparkline
SQL Server
SSIS
table
tree grid
universe
User Access
User Management
Web Intelligence
wrapper
Xcelsius
Latest Tweets
-
Guide on Business Objects access levels posted http://davidlai101.com/blog/2010/02/19/understanding-business-objects-access-levels/ - posted on Feb 19, 2010
-
FusionCharts wrapper 1.0 online guide now available - posted on Feb 03, 2010
-
FusionCharts Java Wrapper 1.0 released
Go to http://davidlai101.com/blog/2010/02/02/fusion-charts-java-wrapper-updated/ to check it out! - posted on Feb 02, 2010
-
The future is in sixth sense technology http://www.youtube.com/watch?v=mzKmGTVmqJs&feature=youtube_gdata - posted on Jan 26, 2010
-
Blog has been upgraded to Wordpress. Enjoy! Http://www.davidlai101.com/blog - posted on Jan 24, 2010


Alpha Numeric Sorter
Here is an Xcelsius Example that ranks your table based on whether you want to rank it numerically or alphabetically.
Many of you may have had the trouble of trying to sort a table of data. If you only need to sort alphabetically, then the listview object works fine. However, it does not work with numerics where 12 will come ahead of 6.
The first picture shows how to rank numbers. As you can see the alpha will come in as ascending order. This can easily be done through your Live Office or Web Service Query. If the data is static you can just go to Data -> Sort in Excel and choose Data Column A. The reason for this is that the Countif function has a bug in Excel where if you execute COUNTIF($A$2:$A$6,”>” & A2), it will interpret it as COUNTIF($A$2:$A$6,”=” & A2)
The simple Rank formula for the numeric column that I used takes the rank of each row and spits back the number. It also takes into account if there are duplicate numeric columns. If there is then it uses the COUNTIF($B$2:B2,B2)-1) part to increment the rank accordingly.
Once we have our ranking setup, we have our index match formula that will match the appropriate column to the index.
I’ve attached the source files below that you can reuse for your own pleasure. There are some additional comments in the Excel file that explains more about what is going on for those of you who are curious.
Download Source