Hi
We try to import dimensions from Report Studio reports, using the Custom Query option in the TI and it seems it ignores the sort order that we set in the report. Now, as this is a dimension update TI, we cannot live without the sort order.
The only workaround we could find was that we set up one SQL view per hierarchy, import these to FM, and create a report over each view. Or forget package connector.
Anyone managed to use sorting from RS reports?
tested with tm1 v10.2.1 and 10.2.2
Thanks
Matyas
Package Connector and sort order
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Package Connector and sort order
Are you using a subset as the data source? Have you tried setting the order you need in the subset?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Community Contributor
- Posts: 341
- Joined: Wed Nov 03, 2010 9:16 pm
- OLAP Product: tm1
- Version: 10 2 2 - 2.0.5
- Excel Version: From 2007 to 2013
- Location: Earth
Re: Package Connector and sort order
No, I use a report studio list report as data source, and package connector to connect to the report
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Package Connector and sort order
You can set the dimension order in architect. Would this help or is your order custom?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- Community Contributor
- Posts: 341
- Joined: Wed Nov 03, 2010 9:16 pm
- OLAP Product: tm1
- Version: 10 2 2 - 2.0.5
- Excel Version: From 2007 to 2013
- Location: Earth
Re: Package Connector and sort order
I checked the native SQL in both BI and TM1 TI, and it seems thet the package connector simply omits the 'order by' clause from the query, otherwise the queries are identical. We will register it with IBM now.
Jim, we have sort order IDs in the DWH for all alternative hierarchies within the dimension, we use that for sorting.
Jim, we have sort order IDs in the DWH for all alternative hierarchies within the dimension, we use that for sorting.
- jim wood
- Site Admin
- Posts: 3961
- Joined: Wed May 14, 2008 1:51 pm
- OLAP Product: TM1
- Version: PA 2.0.7
- Excel Version: Office 365
- Location: 37 East 18th Street New York
- Contact:
Re: Package Connector and sort order
With it ignoring the order by, it will be defaulting to the index within the dimension. If you make sure you set then order when building the dimension / alternate hierarchies in TI then you might get at the very least closer,
Jim.
Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
-
- MVP
- Posts: 160
- Joined: Wed Aug 17, 2011 3:51 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: Excel 2007
Re: Package Connector and sort order
How do you specify sorting for the list report? Let me know and I will do some investigation.
TM1 Package Connector / Transformer simply issue a query to the BI query engine. A component called the Report Adapter uses the Report Server to generate the SQL based on the report specification.
TM1 Package Connector / Transformer simply issue a query to the BI query engine. A component called the Report Adapter uses the Report Server to generate the SQL based on the report specification.
-
- Community Contributor
- Posts: 341
- Joined: Wed Nov 03, 2010 9:16 pm
- OLAP Product: tm1
- Version: 10 2 2 - 2.0.5
- Excel Version: From 2007 to 2013
- Location: Earth
Re: Package Connector and sort order
Hi
By simply clicking on the header and set sort in the icon bar.
As I wrote above, I compared the 2 generated SQLs (but only the Native SQL), and the only difference is that the TI omits the order by clause
Thanks for help!
By simply clicking on the header and set sort in the icon bar.
As I wrote above, I compared the 2 generated SQLs (but only the Native SQL), and the only difference is that the TI omits the order by clause
Thanks for help!
-
- MVP
- Posts: 160
- Joined: Wed Aug 17, 2011 3:51 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: Excel 2007
Re: Package Connector and sort order
Yes, I am able to reproduce the issue. I believe that the problem is in the Report Adapter. Follow up with support.