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.
Team, I have a table with 6 categories as below
Category | OrderMonth | Price | MRP |
A | Jan | 879 | 1,029 |
B | Jan | 5,645 | 5,795 |
C | Jan | 564 | 714 |
D | Jan | 8,975 | 9,125 |
E | Jan | 5,643 | 5,793 |
F | Jan | 321 | 471 |
A | Feb | 213 | 363 |
B | Feb | 5,464 | 5,614 |
C | Feb | 654 | 804 |
D | Feb | 854 | 1,004 |
E | Feb | 63 | 213 |
F | Feb | 564 | 714 |
Total | 29,839 | 31,639 |
In the Filters pane, I have applied OrderMonth = Jan and Category <> F. But, in my output table I need the Total should Ignore the Category Filter which I had applied as Category <> F and should SUM the Price, MRP for all categories in Jan (including category F). But, category F should not be seen in the output table as mentioned below.
Note: Price, MRP are measures.
Category | OrderMonth | Price | MRP |
A | Jan | 879 | 1,029 |
B | Jan | 5,645 | 5,795 |
C | Jan | 564 | 714 |
D | Jan | 8,975 | 9,125 |
E | Jan | 5,643 | 5,793 |
Total | 22,027 | 22,927 |
Any help is much appreciated.
Thanks,
Solved! Go to Solution.
Hi @Anonymous
You can use the below Measure to filter your visual table.
Measure =
INT(
NOT(
SELECTEDVALUE( 'Table'[Category] ) = "F"
)
)
Please see the below for reference.
HI @Anonymous,
I'd like to suggest you add if statement to your measure formula to check the row content level. If current is 'total' level, you can write a formula to add filter records calculation result with enabled filter effect.
Clever Hierarchy Handling in DAX
Regards,
Xiaoxin Sheng
Hi @Anonymous
You can use the below Measure to filter your visual table.
Measure =
INT(
NOT(
SELECTEDVALUE( 'Table'[Category] ) = "F"
)
)
Please see the below for reference.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
71 | |
37 | |
31 | |
27 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
36 |