Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Filter blank values on matrix

Hello,

 

These are my tables:

image.png

 

And these are my data:

image.png

I need to create a measure to filter Costs greater than the Budget, to do so, I created a filter table:

 

 

image.png

And created the following measure:

 

 

IF(
    HASONEVALUE('Filters'[Description]);
    IF(
        VALUES('Filters'[Description]) = 1;
        IF(
            SUM(Costs[Value]) > SUM(Budget[Budget]); 
            1;
        )
    )
)

 

 

 

It works correctly:

image.png

 

 

 

Now I use the measure as a visual level filter than only shows values not null. But since I am using a Matrix, If I filter the visual to not show null values for my filter and the table is showing only the first level of data it removes blank data from my second level. It is expected, but I want to avoid it. 

 

Look these images:image.png

 

 

Cost Center C has a greater value than the budget, but it does not happens for Acc A

 

But, since I am on second level of my matrix, it is not a problem. But now, look at the first level of the matrix and remove blank filter activated.

image.png

The value for Cost Center decrease to 150 because that the filter removed Acc A from the cost center. But I do not want it. If the matrix is on it first level, it must show the full value (155). How can I do this?

1 ACCEPTED SOLUTION

Hi @Anonymous,


For your requirement, you want to filter the second level of a report, while the first level stay the original value, which is unsupported to date, you can create an idea here.

Best Regards,
Angelia

View solution in original post

4 REPLIES 4
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

From what I know, when you add the measure as a visual level filter, which will filter the whole matrix, no matter which level is display. For your requirement, you want to remove the second level value, while the first level still stay the original one, it's impossible to date. Thanks for understanding.

Thanks,
Angelia

Anonymous
Not applicable

Hi @v-huizhn-msft,

 

Thanks for helping me. Do you know any other approach to solve my problem - if the cost is bigger than the budget, show it, else, does not show it? 

Hi @Anonymous,


For your requirement, you want to filter the second level of a report, while the first level stay the original value, which is unsupported to date, you can create an idea here.

Best Regards,
Angelia

Anonymous
Not applicable

I tried to check if my table is filtered by Account and it works, only if the visual level filter is not activated:

 

IF(
HASONEVALUE('Filters'[Description]);
IF(
VALUES('Filters'[Description]) = 1;
IF(
ISFILTERED(Account[Description])
IF(
SUM(Costs[Value]) > SUM(Budget[Budget]);
1;
BLANK()
)
IF(
CALCULATE(SUM(Costs[Value]) > SUM(Budget[Budget]); ALL(Account));
1;
BLANK()
)
)
)
)

 

But, if I activate the visual level filter to not show Blank values for My Measure, independently of the filter level - Cost Center or Account - the function ISFILTERED always returns TRUE. So I can not accomplish my needs that way. Can someone help me?

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.