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.
I'm VERY new to PowerBI, so I apologize if I don't use the right terminology.
I have a matrix table in my report.
I am using a date slicer and an employee name slicer to show me two columns of values, that are pulled from two separate tables. These tables have a mutual relationship with a date table and with a (I think it's called a fact table?) that has employee names.
That all works perfect.
The problem I have is that my two columns display employee cost, and employee revenue generated. I want to add them together to get a profit/loss per employee.
I cannot figure out how to add two columns on a filtered table to display a third column with the calculation applied.
Any help is much appreciated!
Solved! Go to Solution.
Hello,
you can create a new measure that would be
Profit / loss= sum(employee revenue) - sum(employee cost)
and then add it to your matrix
check this link to see how to make a measure https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-measures
If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍
Proud to be a Super User! | |
Hello,
you can create a new measure that would be
Profit / loss= sum(employee revenue) - sum(employee cost)
and then add it to your matrix
check this link to see how to make a measure https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-measures
If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍
Proud to be a Super User! | |
I've tried that, and it looks like this:
Nevermind! I had the parenthesis wrong. I've fixed it, and it works now. Thank you so much!
Great!
If I answered your question, please mark my post as solution so it would appeare to others, Appreciate your Kudos👍
Proud to be a Super User! | |
User | Count |
---|---|
77 | |
76 | |
44 | |
31 | |
26 |
User | Count |
---|---|
98 | |
89 | |
52 | |
48 | |
46 |