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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.