excel - DAX: Calculated Column with Multiple Tables Filter -
this relates adding calculated column table fetches rows 2 other tables based on criteria.
consider model this:
i want come calculated column called 'budget material consumption' in table 'actual material utilization'. should calculate how material should have been utilized in order produce products sold per standard recipe table.
i wanted use following formula not working:
=calculate( sum(recipe[rm_qty]) * sum(sales[qty]) , filter(recipe, recipe[rm_id]=utilization[rm_id]) , filter(sales,sales[product_id]=recipe[product_id]) )
hope able explain query fine.
regards.
Comments
Post a Comment