Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Euro0681
Helper II
Helper II

Re asking (measure Totals incorrect)

I'm reasking my previous question as maybe it wasn't clear

Euro0681_0-1670338138297.png

 

In the image above The table on the right Is my data and the Table on the Left is my Power bi Table (Visual Chart).
I'm trying to calculate 2 Measures (TEST, & Test  Total)

TEST = SelectedValue('Table'[Price) * SelectedValue('Table'[Quantity)
(This gives me the correct/expected values for TEST Measure)

Test Total = Sumx('Table', [TEST])
(This gives me incorrect values as its taking into account both transactions from the table on the right)

The correct Total should be the Highlighted Measure 'Expected Total'
Can anyone give any suggestions please
(The calculations have to be a measure)

 

1 ACCEPTED SOLUTION
DimaMD
Solution Sage
Solution Sage

@Euro0681  hi, Please see the attached file, I hope your desired result is there


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

View solution in original post

1 REPLY 1
DimaMD
Solution Sage
Solution Sage

@Euro0681  hi, Please see the attached file, I hope your desired result is there


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors