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.
Sorry if that subject is confusing, but I will explain it in detail here.
I have a matrix that has Jobs and People as rows. I then have 3 columns, the amount of money someone had previously, the amount they have now, and a column that is New amount / Old Amount to get the Percent changed. I am Summarizing the Percent Changed as an Average.
What I want to happen here is for it to be a weighted average here instead of what is happening. I want the totals to reflect overal percentage change per category.
So for example, instead of Dev's average being 3.583 from the averaging of 7, 1.25, and 2.5, I want it to be 1757/1201= 1.46 to get an actualy representation of the overall change.
I know I can do this with a measure for the sum of those two columns, but I am trying to find a way to accomplish this without adding extra columns or making a seperate visual, because the ability to neatly get all that information per category is extremely useful.
Is there a way to accomplish this?
Solved! Go to Solution.
Can you just change your Average of % Change measure to this?
DIVIDE([NewAmount], [PreviousAmount])
That should get the same values for each person and your desired result at the job level.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Can you just change your Average of % Change measure to this?
DIVIDE([NewAmount], [PreviousAmount])
That should get the same values for each person and your desired result at the job level.
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hello Pat,
I'm an idiot. Thank you!
Since Measure requires doing some form of measure for the data (in this example Sum) I assumed I couldn't do it in this specific scenario without it summing ALL values, but that was exactly what I needed.
User | Count |
---|---|
79 | |
74 | |
44 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |