Forum Discussion

Chris2038's avatar
Chris2038
Frequent Visitor
4 years ago
Solved

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

  • Hi, Chris2038 
    Try to create a measure :

    _GL Account:=SUM([GL Account])

    And drag and drop the name field to the filter.

    Result:

    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.

1 Reply

  • Hi, Chris2038 
    Try to create a measure :

    _GL Account:=SUM([GL Account])

    And drag and drop the name field to the filter.

    Result:

    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.