Forum Discussion
aignn
Helper II
6 years agoHow create new table from another table with dax and filter? (like ALL)
Hello! I have two tables. Table1 and Table2 Table1 have filter by column Date. I want create new table with dax (like ALL) ,which will have the same columns and rows from Table1, but where Dat...
aignn
Helper II
6 years agoHi! mwegener
Thank you for your reply.
My example - https://yadi.sk/d/WOB5pcfXT3yT-A
I want get data for chart where Date < selected in slicer Date
what i have:
what i need:
v-xuding-msft
Community Support
6 years agoHi aignn ,
Calculated table is static. If you want to create a table based on the selected value dynamically, it is impossible. If you just want to show those values, you could create a measure like below:
Measure =
VAR a =
SELECTEDVALUE ( 'Date'[Date] )
RETURN
IF (
ISFILTERED ( 'Date'[Date] ),
CALCULATE ( SUM ( 'Table'[Minutes] ), FILTER ( 'Table', 'Table'[Date] < a ) ),
SUM ( 'Table'[Minutes] )
)
Please show more details and screenshots if I misunderstand.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.