Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
I have two columns (Store and State) and a measure Store-Value. I need to calculate a measure State-Value (Average of Store-Value in a given state).
In my report I have both store and state as a filter. I want to make sure when I select stores in a state, state-value still shows the average vaule of that state. For example: when I filter store A, State-value should still show 20 and not 10.
Thanks!
Solved! Go to Solution.
@Anonymous Thanks for your solution.
Calculate(divide(measure,count(table[state])),allexcept(table,table[state])) works for me.
User | Count |
---|---|
58 | |
21 | |
18 | |
16 | |
13 |
User | Count |
---|---|
85 | |
54 | |
45 | |
39 | |
21 |