Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi
I have 4 tables (ie. 1 Primary and 3 Secondary) as in below :
1) All Transport (primary)
2) Dealer master ( Destination = DealerName)
3) Yard master (FromYard = YardName)
4) All Budget (CustomerName = Name)
I want to achieve below dashboard but don't know to manage the relationships of the 4 tables.
Appreciate any advice. Thanks.
Solved! Go to Solution.
HI @Grace1,
Current power bi not support 'many to many' relationship, you need to use unique records table as the bridge to link other tables.
If you can't ensure which table contains unique records, you can try to manually create one to link other tables.
Sample table:
Cusotmer Name = DISTINCT ( UNION ( VALUES ( 'All Transport'[CustomerName] ), VALUES ( 'Dealer master'[CustomerName] ), VALUES ( 'Yard master'[CustomerName] ), VALUES ( 'All Budget'[CustomerName] ) ) )
Reference link:
Create and manage relationships in Power BI Desktop
Regards,
Xiaoxin Sheng
HI @Grace1,
After research on your screenshot, I found you can try to use 'Yard master' as bridge table to link other tables with 'customer name' column.('one to many' relationship)
Regards,
Xiaoxin Sheng
Hi Xiaoxin Sheng,
I try to create relationship using ' customer name' as the link between the other tables but has error "You can't create a relationship between theses two columns because one of the columns must have unique values."
HI @Grace1,
Current power bi not support 'many to many' relationship, you need to use unique records table as the bridge to link other tables.
If you can't ensure which table contains unique records, you can try to manually create one to link other tables.
Sample table:
Cusotmer Name = DISTINCT ( UNION ( VALUES ( 'All Transport'[CustomerName] ), VALUES ( 'Dealer master'[CustomerName] ), VALUES ( 'Yard master'[CustomerName] ), VALUES ( 'All Budget'[CustomerName] ) ) )
Reference link:
Create and manage relationships in Power BI Desktop
Regards,
Xiaoxin Sheng
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |