Forum Discussion

osama_ayoub's avatar
osama_ayoub
Helper III
2 years ago

Power BI model for Production Process

Hi,

I have a model for production process, the problem I have is that I have the fact table with transactional sales have columns of [Item,Category,Date,Quantity,Quantity in bottle,Price per KG) and dimension table of calender table and store table and these dimension table has no duplicate values , but there is another dimension table which is product table (this table has 4 column of [Item,Material,Quantity,Price of Material] t=but this dimension table has duplicate items becasue each item contain many materials so every item is duplicated and some materials are are common between some items also,
now I want to create relationship between the product table and sales table to create measure to calculate
1-the total cost of each item 
2-total materials used every month in separate visual (the quantity of product in sales table and the quanity of each material in material table)
Regards

 

5 Replies