Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi, I'm still quite new to Power BI especially with the modeling part.
I'm trying to join a table called LeadTimeGrid with the following columns:
CUSTOMER | REGION | FACTORY | STANDARD LEAD TIME |
Apple | Asia | A | 10 |
Apple | Africa | B | 8 |
Apple | Europe | C | 8 |
Boy | Europe | C | 5 |
Boy | Asia | A | 7 |
Boy | North America | D | 7 |
Cat | North America | E | 3 |
with the main FactTable:
CUSTOMER | REGION | COUNTRY | FACTORY | ACTUAL LEAD TIME |
Apple | Asia | China | A | 15 |
Cat | North America | USA | E | 25 |
Boy | Europe | France | C | 30 |
Apple | Europe | Italy | C | 2 |
Anyway I can create a new table or visualization that has the following data fields:
CUSTOMER | REGION | COUNTRY | FACTORY | ACTUAL LEAD TIME | STANDARD LEAD TIME |
Apple | Asia | China | A | 15 | 10 |
Cat | North America | USA | E | 25 | 3 |
Boy | Europe | France | C | 30 | 5 |
Apple | Europe | Italy | C | 2 | 8 |
None of the values are unique, and I'm not sure if I'm supposed to create a many-to-many relationship with the different fields.
Any help?
Solved! Go to Solution.
@Anonymous
you can just create a column
Column = maxx(FILTER(LeadTimeGrid,'Fact'[CUSTOMER]=LeadTimeGrid[CUSTOMER]&&'Fact'[REGION]=LeadTimeGrid[REGION]&&'Fact'[FACTORY]=LeadTimeGrid[FACTORY]),LeadTimeGrid[STANDARD LEAD TIME])
Proud to be a Super User!
@Anonymous
you can just create a column
Column = maxx(FILTER(LeadTimeGrid,'Fact'[CUSTOMER]=LeadTimeGrid[CUSTOMER]&&'Fact'[REGION]=LeadTimeGrid[REGION]&&'Fact'[FACTORY]=LeadTimeGrid[FACTORY]),LeadTimeGrid[STANDARD LEAD TIME])
Proud to be a Super User!
Thanks for this! I actually ended up merging these two ables. Works the same.
you are welcome
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
95 | |
94 | |
80 | |
71 | |
64 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |