Forum Discussion
NadaBen
9 years agoHelper I
dynamic filter
Hello, I import this table below from BI (Analysis services), this table is huge and i cannot import it entirely, in addition i need restrictred information from it, i want to filter my "snapshot...
NadaBen
9 years agoHelper I
Unfortunately no !
Phil_Seamark
9 years agoMicrosoft Employee
Are you importing or doing a live connect?
- NadaBen9 years agoHelper I
I'm importing tables
- Phil_Seamark9 years agoMicrosoft Employee
You can write MDX against both MD and Tabular cubes. With MDX it's possible to create dynamic date ranges using a combination of VBA and strtomember functions but this is medium to advanced MDX and definitely requires knowledge of your model.
- NadaBen9 years agoHelper I
hi Phil_Seamark
That's the part of MDX query which i want to change to be dynamic
ON COLUMNS FROM (SELECT ({[Snapshot].[Year - Week - Date].[Day].&[2017-06-05T00:00:00]},{[Common Period].[Year - Week - Date].[Year].&[2017-01-01T00:00:00]})
I want to always get the last day of [Snapshot].[Year - Week - Date].[Day]
and the 12 first weeks of [Common Period].[Year - Week - Date].[Week]
Can you help me please ???