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

Prorate amount using references in one table

See attached for a sample model with all tables related in the data model. 

https://1drv.ms/x/s!AnSxu76Gaw6ZsG96mF4xBg76Oq8u?e=pUJ177 

In the Sample Activity tab there is a table showing percentage allocations per employee per department (GL code). These need to be applied to the amounts in the labour forecast table.  For example - See how Gord Gorvus's (not a real person, or name for that matter) salary is 65,000, and in the activity table half of his wage gets Allocated to Indirect Labour - Renovations, and the other half gets allocated to Direct Labour - Install. 

 

Assuming that Gord Gorvus is the only employee, the Pivot tab should show only amounts for the two beforementioned accounts. 

 

Many thanks in advance

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

Hi, @Chris2038 
Try to create a measure :

_GL Account:=SUM([GL Account])

And drag and drop the name field to the filter.

Result:

vangzhengmsft_0-1647829117614.png

Please refer to the attachment below for details.

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


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

1 REPLY 1
v-angzheng-msft
Community Support
Community Support

Hi, @Chris2038 
Try to create a measure :

_GL Account:=SUM([GL Account])

And drag and drop the name field to the filter.

Result:

vangzhengmsft_0-1647829117614.png

Please refer to the attachment below for details.

Hope this helps.

 

 

Best Regards,
Community Support Team _ Zeon Zheng


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.