Forum Discussion
Dividing by column in another table
Hi
I have a bunch of em_codes associated with my calculated column ALRemain. I want a new column which divides the ALRemain by a value associated with the em_code (the hours column), which can be found in my EmCode Table.
What would be the best method to achieve this?
Thanks
AL RemainEmCodes Table
Spencer Create relationship between Hours and ALRemain table using em_code column ie 1 to many relation from Hours table to ALRemain table. Then in ALRemain table create calculated column as below,
='TABLENAME'[alremain] / RELATED(TABLENAME[hours])
2 Replies
- ankitpatira
Community Champion
Spencer Create relationship between Hours and ALRemain table using em_code column ie 1 to many relation from Hours table to ALRemain table. Then in ALRemain table create calculated column as below,
='TABLENAME'[alremain] / RELATED(TABLENAME[hours])
- Spencer
Helper II
Yes that's it!
Thanks very much.