Forum Discussion
prihana
8 years agoHelper V
Dynamic Table based on date slicer value
I want to create a calculated table based on the value from a date slicer. E.g. Master table has item wise daily sales (Date,ItemCode,Stock) There is a date slicer (between) to select the per...
v-chuncz-msft
8 years agoCommunity Support
Values in a calculated table are fixed. But you may create measures as follows. It takes advantage of Show Categories With No Data.
MaxSelectedDate = CALCULATE ( MAX ( Table1[Date] ), ALLSELECTED ( Table1 ) )
Measure =
VAR d =
MAX ( Table1[Date] )
RETURN
IF ( d = [MaxSelectedDate], SUM ( Table1[Stock] ) )
- prihana8 years agoHelper V
Measure = VAR d = MAX ( Table1[Date] ) RETURN IF ( d = [MaxSelectedDate], SUM ( Table1[Stock] ) )Hi is there anyway i can sneak in a group by in the above. So i can get the values item wise.
- v-chuncz-msft8 years agoCommunity Support