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 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 |
---|---|
78 | |
77 | |
38 | |
31 | |
28 |
User | Count |
---|---|
106 | |
96 | |
55 | |
49 | |
46 |