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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.