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
PaulH2
Regular Visitor

Apportioning values on Power BI

Afternoon All,

 

I am a new to Power BI, so apologies if the below has already been covered in earlier posts.

 

We have invoice values that we need to apportion royalty payments to. As our products have multiple royalties applicable against them I am looking to calculate an appotioned value per item for each aplicable royalty code, and then calculate the royalty applicable to each item / royalty code combination.

 

The apportioned values that I have work okay except for grand totals which are sadly incorrect.

 

Below are headers from two data tables that I am linking for this purpose, is there a failsafe formula that I can use to get correct values throughout my table / matrix ?

 

Invoice Data Table
Invoice No
Customer A/c
Item No.
Item Description
Posting Date
Quantity
Unit Price
Line Value
 
Royalties Table
Item No.
Royalty Code
Royalty Description
Royalty Apportioned Value (%)
Royalty % Applicable

 

Any help / guidance would be much appreciated.

 

 

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

@PaulH2,

 

You may take a look at the following post.

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@PaulH2,

 

You may take a look at the following post.

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Many thanks for the link, this solution works perfectly.

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.