Hello all,
I have set up a TM1 drill-through to a system with underlying an Oracle database.
The drill-through returns the correct rows and data.
However, all data is left-aligned in the cells of the output window (when launched from the Cubeviewer for instance).
For texts and numbers that have the same number of digits, it's fine.
But for numbers like invoice amounts (small amounts and large amounts with no particular sorting), this clearly is an issue.
Users want to see the output (invoices) sorted by date, not by amount.
I don't want to store all invoice data in TM1 cube(s).
Any pointers ?
Thanks,
Wim
Drill-through yields left-aligned numbers
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Drill-through yields left-aligned numbers
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Drill-through yields left-aligned numbers
Does your drill through query have an ORDER BY clause in it?Wim Gielis wrote:Users want to see the output (invoices) sorted by date, not by amount. I don't want to store all invoice data in TM1 cube(s).
-
- MVP
- Posts: 3704
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Drill-through yields left-aligned numbers
Like Tomok said, you just need to ORDER BY on the appropriate field in the query. If you are doing the drillthrough in Excel then the user can sort by whatever field they like, but in the TM1 web presentation the output windows is static as far as I know so you have to do all the manipulation in the query.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
-
- Site Admin
- Posts: 1458
- Joined: Wed May 28, 2008 9:09 am
Re: Drill-through yields left-aligned numbers
Agreed.as far as I know so you have to do all the manipulation in the query.
I have found that you can do quite a bit of manipulation in the query including formatting, totals etc.
-
- MVP
- Posts: 3240
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.1.5
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Drill-through yields left-aligned numbers
Hello,
Thank you for your input. I have no ORDER BY statement.
Does this mean that I have to add an ORDER BY clause, sorting numbers from small to large ? That's disappointing.
The interface that we get from Cubeviewer or TM1 Web is so limited (no buttons to sort on a column, unless I'm mistaken).
Should we insert spaces in the Oracle query to get it aligned ? The font size is not monospace so that will be complex and needlessly difficult.
Users will not copy/paste to a new Excel file and do their analysis in Excel, they see it on screen with right-aligned numbers.
Thanks !
Thank you for your input. I have no ORDER BY statement.
Does this mean that I have to add an ORDER BY clause, sorting numbers from small to large ? That's disappointing.
The interface that we get from Cubeviewer or TM1 Web is so limited (no buttons to sort on a column, unless I'm mistaken).
Should we insert spaces in the Oracle query to get it aligned ? The font size is not monospace so that will be complex and needlessly difficult.
Users will not copy/paste to a new Excel file and do their analysis in Excel, they see it on screen with right-aligned numbers.
Thanks !
Best regards,
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
-
- MVP
- Posts: 3704
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Drill-through yields left-aligned numbers
If you hack the css for the drill through then you can have a much nicer looking drill-through window in terms of headers, font, borders, etc.
But I still recommend doing order by in the query, that really isn't that difficult. Just ORDER BY FieldName DESC at the end of the query
But I still recommend doing order by in the query, that really isn't that difficult. Just ORDER BY FieldName DESC at the end of the query
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.