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.
Hi Team, I have report like this, user will from slicer pick two type, and compare the different,
I can get all related data from report, But not sure how to get different value .
for example, here I need add one more column call " Diff",
this one should show veriance between "Internal" and "on Sale"
Thank you for help
Solved! Go to Solution.
@wangjuan303 , One way is to use min and max
measure =
var _min = minx(allselected(Type), Type[Type])
var _max = maxx(allselected(Type), Type[Type])
return
calculate(sum(Table[Value]), filter(Type, Type[Type] = _max)) - calculate(sum(Table[Value]), filter(Type, Type[Type] = _min))
Compare Categorical Data Using Slicers - Compare two Brands: https://youtu.be/exN4nTewgbc
@wangjuan303 , One way is to use min and max
measure =
var _min = minx(allselected(Type), Type[Type])
var _max = maxx(allselected(Type), Type[Type])
return
calculate(sum(Table[Value]), filter(Type, Type[Type] = _max)) - calculate(sum(Table[Value]), filter(Type, Type[Type] = _min))
Compare Categorical Data Using Slicers - Compare two Brands: https://youtu.be/exN4nTewgbc
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
User | Count |
---|---|
86 | |
85 | |
68 | |
67 | |
63 |
User | Count |
---|---|
210 | |
118 | |
116 | |
81 | |
74 |