Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi, I can't figure out this (used also chatGPT and Gemini):
in power bi i have a table 'Table1' with two columns: Suppliers and Items. i want to select an item and have as a result the list of those Suppliers associated with that selected item only. in addition to that if one of the Suppliers in this list is associated to other items, I want to include in the same result list also all those suppliers of each other item. E.g. starting table (associations Suppliers/items):
| Suppliers | Items |
| Supplier1 | item1 |
| Supplier5 | item1 |
| Supplier7 | item3 |
| Supplier10 | item2 |
| Supplier5 | item2 |
| Supplier1 | item3 |
| Supplier8 | item4 |
if I select item1, I would like to have as answer this set of suppliers: Supplier1 and Supplier5 ... but not only: I would like also Supplier7 and Supplier10 (because Supplier5 can supply Item2, as Supplier10 can do, may be Supplier10 can supply item1 as Supplier5 can). Supplier8 has no relation
This is a kind of recursive iteration (but for me it is enough to have 2 levels)
thanks for your time
Solved! Go to Solution.
it works, clean and neat. thank you!
I'm testing it, I'll let you know
| User | Count |
|---|---|
| 52 | |
| 37 | |
| 31 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 138 | |
| 102 | |
| 59 | |
| 36 | |
| 35 |