Forum Discussion
Iamnvt
8 years agoContinued Contributor
BOM Modeling
hi, I have 3 tables: 1. Product Master data as dimension table for all material code 2. BOM: 1 Material contains many child components 3. Sales Order table: as fact table for orders of each pa...
- 8 years ago
hi,
I found the solution through Many to Many relationship topic.
https://exceleratorbi.com.au/many-many-relationships-dax-explained/#comment-23150
thanks for helping anyway.
Anonymous
8 years agoNot applicable
Iamnvt,
Create a new table using DAX below.
Table = GENERATEALL(BOM,var productid =BOM[Product] return SELECTCOLUMNS(CALCULATETABLE(Sales,Sales[Product]=productid),"sales",Sales[Sales]))
Then create a table visual as follows.
Regards,
Lydia
Iamnvt
8 years agoContinued Contributor
hi,
I found the solution through Many to Many relationship topic.
https://exceleratorbi.com.au/many-many-relationships-dax-explained/#comment-23150
thanks for helping anyway.