cancel
Showing results for 
Search instead for 
Did you mean: 
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
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors