Forum Discussion
Anonymous
6 years agoNot applicable
Adding date table to mdx query
Hello In my last post I asked how to correctly pull data using MDX filtering and got everything working. Code that helped me filter out and format it just how I needed: SELECT
NON EMPTY {[Proj...
- 6 years ago
Hi Anonymous ,
try this ...
SELECT NON EMPTY {({[Project POS].[Type hierarchy].[WinPOS], [Project POS].[Type hierarchy].[SelfCheckout]} * [Time].[Time].[Calendar Year].&[2020])} ON COLUMNS, NON EMPTY {[Project POS].[POS hierarchy].[Project]} ON ROWS FROM (SELECT ({[Time].[Time].[Calendar Year].&[2020]}) ON COLUMNS FROM [Property Cube]) WHERE ([Measures].[Count of Receipts])
Anonymous
6 years agoNot applicable
Hi
The data is not incorrect, I already had this extension installed. I need to figure out a way how to add date to my code. The date and data in the cube are linked, in cube I can see what data was created on a specific date but when I pull the entire 2020 data into PBI the link between date and data will dissapear. I can always create a new date table in PBI but this way I can not see which data was updated on what date so thats why I need to include the date table to my code from cube.
mwegener
Most Valuable Professional
6 years agoHi Anonymous ,
the idea was that you set up your required query in an Excel pivot table and then copy the resulting query from this extension view.