I have a restaurant and want to find out my theoretical ingredient use based on my recipes.
I have three tables,
1. MENU (pizza, lasagna)
2. RECIPES (8 ozs of ham per pizza)
3. CHECKS or INVOICES (for food served)
4. INGREDIENTS (ham, tomato, wine)
To find out how much ingredients I used I would link CHECKS or INVOICES ->MENU-> RECIPES->INGREDIENTS
Then I would multiply the number of items sold by the quantity per my recipe.
In regular Excel I would use sumifs() to find out how much ingredient I used. How do I do it in Power BI or Power Pivot ? Can I use DAX functions or should I use RELATE ?
RA
I have three tables,
1. MENU (pizza, lasagna)
2. RECIPES (8 ozs of ham per pizza)
3. CHECKS or INVOICES (for food served)
4. INGREDIENTS (ham, tomato, wine)
To find out how much ingredients I used I would link CHECKS or INVOICES ->MENU-> RECIPES->INGREDIENTS
Then I would multiply the number of items sold by the quantity per my recipe.
In regular Excel I would use sumifs() to find out how much ingredient I used. How do I do it in Power BI or Power Pivot ? Can I use DAX functions or should I use RELATE ?
RA