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.
Hello, I want to create a graph where I have the market share of 3 brands (values) and 10 countries (Axis).
The problem is that the % of grand total is made only one the filtered 10 countries but I want the total to be made on all countries on my database. Is it possible ?
Solved! Go to Solution.
Yes it's possible.
You'll need to create a measure
YourMeasure =
VAR CurrentTotal = SUM(YourValueColumn)
VAR AllTotal =
CALCULATE(
SUM(YourValueColumn)
,ALLEXCEPT(YourTable , YourBrandColumn , AnyOtherColumnsYouWantToGroupBy )
)
RETURN
DIVIDE
(CurrentTotal
,AllTotal
)
Something like this ^
Yes it's possible.
You'll need to create a measure
YourMeasure =
VAR CurrentTotal = SUM(YourValueColumn)
VAR AllTotal =
CALCULATE(
SUM(YourValueColumn)
,ALLEXCEPT(YourTable , YourBrandColumn , AnyOtherColumnsYouWantToGroupBy )
)
RETURN
DIVIDE
(CurrentTotal
,AllTotal
)
Something like this ^
User | Count |
---|---|
86 | |
82 | |
68 | |
65 | |
55 |
User | Count |
---|---|
123 | |
100 | |
90 | |
83 | |
66 |