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
see charts below.
The Line should always show the sum of the categories. Also if I only choose one category in the slicer as in the second chart.
I thought this would work:
Hope someone can help
Regards
Ron
Solved! Go to Solution.
ok in your formula , you used allexcept , and they ask you to sepcify a table , you chose dates table ,
so in theory , it will remove all filters inside the dates table only , however if yo uuse all except and choose the category table, it will fremove all filters from categort table
so instead of
allexcept(dates,dates[month])
use allexcept(category table,dates[month])
if you have relatioship between date and table ,
You used in the all except function the calendar or dates table , which removes all filetrs from date which doesnt have your category , so you need to replace Dates with your table that has categories .
Sum of Categories Line = CALCULATE([Sum of Categories],ALLEXCEPT(Table,Dates[Year],Dates[MonthShortName]))Hi @eliasayyy
I don't understand the answer.
I have a Dates table with amongst other Date, Year and MonthShortName.
I have a Category table with, amongst others, Category-Date.
There is a 1:n relation between Dates and Category on the fields Date and Category-Date
What do I have to do to get ALLEXCEPT working?
ok in your formula , you used allexcept , and they ask you to sepcify a table , you chose dates table ,
so in theory , it will remove all filters inside the dates table only , however if yo uuse all except and choose the category table, it will fremove all filters from categort table
so instead of
allexcept(dates,dates[month])
use allexcept(category table,dates[month])
Hi @eliasayyy
you helped me out
This is the solution. Thnx a lot
on your chart, your slicer is using dates table month as a filter so you need to specify the column the allexcept should respect and keep the filters , in your case its dates table month or dates date. if you want to use categories date in all except , you need to use categories date in your slicer
Ah, ok
with slicer you mean the visual, the line and clustered column chart
yes
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 |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |