Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
User | Count |
---|---|
99 | |
87 | |
80 | |
76 | |
71 |
User | Count |
---|---|
112 | |
105 | |
96 | |
74 | |
66 |