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
Anonymous
Not applicable

Wrong Totals

Hello everyone!

This is probably a rookie mistake and I searched through some similar examples but could not figure out how to make this work.  I created a mini subset of my data and dashboard and included a link to my .pbix file below.

 

Thanks for any help you can provide!

 

A couple of mistakes:

1. Buyer Table - PO Target Variance is wrong (the Total is wrong and the total for Buyer 5 should be zero)

2. Card for PO Target Variance (to the right of the buyer table) is wrong - $113.01 - it should be $31.21

3. Detail Table - should not be showing blank rows and the total amount of PO Target Variance is wrong (similar to issues above)

 

 

Measures I used:

PO Target Rate = average(TargetRates[Target Rate])
 
PO Total Units = sum('Purchase Order Data'[Number of Units])
 
PO Target Variance = if([PO Target Rate]>0,sum('Purchase Order Data'[Total Buying Amount $])-[PO Target Rate]*[PO Total Units],0)
 

Here is a link to my .pbix:

https://drive.google.com/file/d/1oo2pgJKbKUhUkSUR9tYikjJIluOGb8d2/view?usp=sharing

 

test.jpg

 

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Arjunarao
Resolver I
Resolver I

Hi,

May be this is relationship issue.

Please use "Cross Filter direction" option as both as shown in the screen.

2.PNG

 

Output:

1.PNG 

 

download the file from here:

https://drive.google.com/open?id=1PSIV4FZd-85D6LdMYEJ4kRzL2u0BQRMl

Ashish_Mathur
Super User
Super User

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

I like how you solved that - many thanks!

Hi,

Please select correct answer. So that people can understand easily.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.