Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, I need help with what seems like a straight-forward problem. I simply need to divide an individual weight (green highlight) by a group of value's average (yellow). So in this example, I need the "Change" column to be the difference between the weight of Value 1 and the Average of all of the values.
Thank you!
Solved! Go to Solution.
You can create a measure using ALLSELECTED to remove the row level context. Something like this should work:
Change = DIVIDE( SUM( Weight ) , CALCULATE( AVERAGE( Weight ) , ALLSELECTED( Value ) ) , BLANK() )
That worked perfectly! Thank you so much!
You can create a measure using ALLSELECTED to remove the row level context. Something like this should work:
Change = DIVIDE( SUM( Weight ) , CALCULATE( AVERAGE( Weight ) , ALLSELECTED( Value ) ) , BLANK() )
User | Count |
---|---|
72 | |
67 | |
38 | |
25 | |
23 |
User | Count |
---|---|
96 | |
93 | |
50 | |
43 | |
42 |