Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Basicaclly i want to created variance using measures, between 2 selected slicers. how can i do this?
example when i type week 22, and week 30
the variance tells the different week 22, and week 30.
Solved! Go to Solution.
@adityo , Try a measure like
measure =
Var _Min = MINX(allselected('Date'), 'Date'[WEEK])
Var _Max = MAXX(allselected('Date'), 'Date'[WEEK])
return CALCULATE(SUM(Table1[Value]), filter(Table1, Table1[WEEK]=_max)) -CALCULATE(SUM(Table1[Value]), filter(Table1, Table1[WEEK]=_min))
@adityo , Try a measure like
measure =
Var _Min = MINX(allselected('Date'), 'Date'[WEEK])
Var _Max = MAXX(allselected('Date'), 'Date'[WEEK])
return CALCULATE(SUM(Table1[Value]), filter(Table1, Table1[WEEK]=_max)) -CALCULATE(SUM(Table1[Value]), filter(Table1, Table1[WEEK]=_min))
Hi @amitchandak ,
after a little adjustment, this is a magnificent solution, thanks a lot
hi @amitchandak ,
thank you for your response, but it seems doesn't work, what mistakes i do?, here are my screenshots
and my measures
actually the difference should tell me
83.907.505 - 83.479.000 = 428.555
but it seems don't calculate and
83.907.505 - 83.479.000 = still 83.907.505
User | Count |
---|---|
76 | |
74 | |
61 | |
61 | |
45 |
User | Count |
---|---|
108 | |
103 | |
93 | |
83 | |
64 |