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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello,
I have a data table that looks like the following table. I am trying to create a bar chart that show the % Spend by Date and Type of Produce while filtering the table for Location = Grocery Store and Day = Monday or Tuesday.
LocationDayProduceTypePrice
| Grocery Store | Monday | Apple | Fruit | 5.00 |
| Farmers Market | Tuesday | Cucumber | Vegetable | 2.00 |
| Grocery Store | Wednesday | Orange | Fruit | 6.00 |
| Farmers Market | Monday | Peas | Vegetable | 8.00 |
| Farmers Market | Tuesday | Banana | Fruit | 1.00 |
| Grocery Store | Monday | Pineapple | Fruit | 10.00 |
| Grocery Store | Monday | Carrots | Vegetable | 2.00 |
| Grocery Store | Tuesday | Cucumber | Vegetable | 0.75 |
I am trying to get something like this:
However, when I try to do it in DAX using the following expression:
I get the following result:
What am I doing wrong? I am able to apply multiple filters within the same expression, why does adding "AllSelected" break it? How can I calculate the % of the total while filtering the data?
Any help would be greatly appreciated!
Solved! Go to Solution.
Hi @newpbiuser01
Please use these measures
pbix is attached
Hi @newpbiuser01
Please use these measures
pbix is attached
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 107 | |
| 39 | |
| 33 | |
| 25 |