Forum Discussion
Anonymous
7 years agoNot applicable
Calculate Data using Date Slicer
Hi Everyone, I don't know if this can be done but here goes nothing. I have a Table that has 2 fields; "Report Date" and "Orig Amount". What I would like to do is do create two more columns - one...
- 7 years ago
Hi Anonymous
You can create two measures and place each of them in a Card visual or both in a multi-row Card visual.
The measure for Amt Previous:
AmountB4SlicerPeriod = CALCULATE ( SUM ( Table1[OriginalAmount] ); FILTER ( ALL ( Table1[ReportDate] ); Table1[ReportDate] < MIN ( Table1[ReportDate] ) ) )and the other one:
AmountDuringSlicerPeriod = SUM(Table1[OriginalAmount])
Anonymous
7 years agoNot applicable
HI Anonymous,
I think you need to use measure to achieve this, current power bi not support to create dynamic calculated column/tables based on slicer.
Calculated Column/Table Change Dynamically According to Slicer Selection in the Report.
Regards,
Xiaoxin Sheng