Hi, Gurus!
I have a task where two tables.
The first table without date field, second with. They are joined by the field "Group", it is the first field from my screenshot.
I need to calculate the sum of the difference between the two measures.
Measure from the first table i calculate as Measure1 = SUM('Table1'.[Field1])
The second measure from table 2 i calculate as Measure2 = AVERAGE('Table2'.[Filed2])
The problem is I can't get the correct total of difference between fields, but in rows all is correct.
I already tried SUMX, AVERAGEX. Tried to store the result of values on VAR, but it doesn't help
Solved! Go to Solution.
@Anonymous try this measure:
New Measure =
SUMX ( VALUES ( Table[Lpyma Column] ), [Measure] - [Measure2] )
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous try this measure:
New Measure =
SUMX ( VALUES ( Table[Lpyma Column] ), [Measure] - [Measure2] )
Check my latest blog post Compare Budgeted Scenarios vs. Actuals I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Thanks a lot! It works great
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
User | Count |
---|---|
125 | |
78 | |
67 | |
56 | |
55 |
User | Count |
---|---|
200 | |
104 | |
85 | |
80 | |
77 |