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! Get ahead of the game and start preparing now! Learn more
hi,
I have a table:
Material Group Demand A AA 4 B AA 5 C AA 2 D BB 5 E BB 5 F CC 6
and this is the desired result:
Row Labels Min Demand Material Constraint AA 2 C BB 5 D, E CC 6 F Grand Total 2
here is the link to the example: https://1drv.ms/x/s!Aps8poidQa5zk5AxITz93mScJMiqkw
thanks
Solved! Go to Solution.
Hi @Iamnvt,
You can create two measures as below
Min Demand = CALCULATE(MIN(Table1[Demand]),ALLEXCEPT(Table1,Table1[Group]))
Material Constraint = CALCULATE(CONCATENATEX(Table1,Table1[Material],","),FILTER(Table1,Table1[Demand]=Table1[Min Demand]))
This is the result I have got
You can also download the pbix file for your reference.
Please mark this post as an accepted solution if this helped you.
Regards,
Affan
Hi @Iamnvt,
You can create two measures as below
Min Demand = CALCULATE(MIN(Table1[Demand]),ALLEXCEPT(Table1,Table1[Group]))
Material Constraint = CALCULATE(CONCATENATEX(Table1,Table1[Material],","),FILTER(Table1,Table1[Demand]=Table1[Min Demand]))
This is the result I have got
You can also download the pbix file for your reference.
Please mark this post as an accepted solution if this helped you.
Regards,
Affan
thanks a lot.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 46 | |
| 43 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 198 | |
| 125 | |
| 102 | |
| 69 | |
| 53 |