Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi
I have a list of Jobs, that each consists of a list of JobTasks.
Now I want to do calculations on values from 2 different Job_Task_No (6999 & 7499), with values placed in different columns.
(profit %, difference etc.)
I just can't get my head around this ..... 😥
Suggestions?
Thanks in advance!!
Solved! Go to Solution.
Hi,
Please try this measure:
Measure =
var a = CALCULATE(MAX('Table'[Usage_Total-Cost]),FILTER('Table','Table'[Job_Task_No]=6999))
var b = CALCULATE(MAX('Table'[Contract_Total_Price]),FILTER('Table','Table'[Job_Task_No]=7499))
return
a+b
The result shows the sum of two columns values where Job_Task-No is 6999 and 7499:
Here is my test pbix file:
Hope this helps.
Best Regards,
Giotto Zhi
Hi,
Please try this measure:
Measure =
var a = CALCULATE(MAX('Table'[Usage_Total-Cost]),FILTER('Table','Table'[Job_Task_No]=6999))
var b = CALCULATE(MAX('Table'[Contract_Total_Price]),FILTER('Table','Table'[Job_Task_No]=7499))
return
a+b
The result shows the sum of two columns values where Job_Task-No is 6999 and 7499:
Here is my test pbix file:
Hope this helps.
Best Regards,
Giotto Zhi
Not quite sure. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |