Forum Discussion
Spencer
Helper II
9 years agoDividing 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 b...
- 9 years ago
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])
ankitpatira
Community Champion
9 years agoSpencer 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])
- Spencer9 years ago
Helper II
Yes that's it!
Thanks very much.