Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a table showing inventory across three main categories all in separate columns.
- Allocated to Demand
- Allocated to Saftety Stock
- Not Allocated
How can I create a measure for these categories, where if "Allocated to Demand" is selected, I only see the Items Allocated to Demand with quantities greater to or equal to 1?
I note that due to the complexity of the structure in the actual report, I'd would ver much prefer to solve this with a measure in DAX rather than through Pivot/Unpivot in PowerQuery.
Thank you.
Solved! Go to Solution.
pls try this
Proud to be a Super User!
This works for the "Allocated to Demand" structure, but if possible, how can all categories be structured in one singular slicer, where if I select "Allocated to Demand", the table will show all items in Column "Allocated to Demand", greater than or equal to 1. And the same for "Allocated to Safety Stock" and "Not Allocated".
The snip below examplifies this visually, but note that this solution does not work in practice as the model I'm working with is quite complex.
pls try this
Proud to be a Super User!
you can try to create a measure
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.