Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 34 | |
| 33 | |
| 30 |