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
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 November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!