Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I am using a Line and clustered column chart visual to present data from different categories inside the same column. I would like to keep the line category visible all the time nevertheless what categories have been selected in the category slicer. Only columns' visibility would be affected by the slicer selections.
At this point slicer removes line on every selection.
Column Measure looks like:
CALCULATE(LASTNONBLANKVALUE ( Calendar[Date], AVERAGE ( Table[Revenue] ) ), FILTER(Category Table, Category Table[Category] <> "A"))
Line Measure looks like:
CALCULATE(LASTNONBLANKVALUE ( Calendar[Date], AVERAGE ( Table[Revenue] ) ), FILTER(Category Table, Category Table[Category] = "A"))
Any tips on this?
Thanks in advance!
Julia
Solved! Go to Solution.
I modified the line measure and got it fixed. The solution was to replace FILTER with ALLEXCEPT.
CALCULATE(LASTNONBLANKVALUE ( Calendar[Date], AVERAGE ( Table[Revenue] ) ), ALLEXCEPT(Category Table, Category Table[Category]), Category Table[Category] = "A")
I modified the line measure and got it fixed. The solution was to replace FILTER with ALLEXCEPT.
CALCULATE(LASTNONBLANKVALUE ( Calendar[Date], AVERAGE ( Table[Revenue] ) ), ALLEXCEPT(Category Table, Category Table[Category]), Category Table[Category] = "A")
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |