The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |