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
auzzieb
Frequent Visitor

Totals are incorrect in my table

I am getting an incorrect total in my table. I want the total to just be a sum of all the records in the column of my measure. I realize I need to change the context, but am unsure how best to do this. 

 

Currently I have the following Dax code in my measure. How can I alter this to just get a sum of the values in the below graphic?  

 

Power Price Paid - Optimized =
[KWh Hourly Usage - Optimized] * MAX('Meter Read Data'[Pool Price ($/Mwh)]) / 1000
 
auzzieb_0-1671123163597.png

 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @auzzieb 

Please add a new formula like:

Measure 1 = SUMX(VALUES(table),[Power Price Paid - Optimized])

Best Regards,
Community Support Team _ Eason

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @auzzieb 

Please add a new formula like:

Measure 1 = SUMX(VALUES(table),[Power Price Paid - Optimized])

Best Regards,
Community Support Team _ Eason

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.