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
mg01
Helper I
Helper I

Total is not coming correct

Hi Team,

Below is my dataset:

mg01_1-1687519117195.png

 
Below is the table visual we are creating in Power BI:

mg01_2-1687519186951.png

We are using below measure for Value:

Value = IF(SELECTEDVALUE('Sheet1 (3)'[measur id])="M",1000,

IF(SELECTEDVALUE('Sheet1 (3)'[measur id])="C",100,

IF(SELECTEDVALUE('Sheet1 (3)'[measur id])="E",1,1)))


The total is not coming correct for Actual Price it should be 686.20 but it coming as 3.82. Below is the measure we are creating for Actual Price:

Actual price = (DIVIDE(SUM('Sheet1 (3)'[Amount]),SUM('Sheet1 (3)'[QUANTITY]))*[Value])

Can anybody please let me know how to correct the total for Actual Price

Thanks,
MG








 

1 REPLY 1
ppm1
Solution Sage
Solution Sage

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.