Forgive me since I just learned Power BI exists.... I have a "inventory" table containing the starting 'Inventory', 'Brood_Year' ,and 'Raceway_PRAS_Unit' . I have a separate table, "Mortality" that also has 'Brood_Year', 'Raceway_PRAS_Unit' and cumulative monthly mortality in a column called 'Mortality_Count'. I need to take the starting Inventory from the inventory table and subtract the mortalities for each month based on brood year, and raceway.
I'm trying to get a DAX code to produce the EOM_Inventory like in the example below.
I appreciate any help I receive on this
Excel Example:
Tables:
Inventory
Mortality
I'm trying to get a DAX code to produce the EOM_Inventory like in the example below.
I appreciate any help I receive on this
Excel Example:
Tables:
Inventory
Mortality