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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Filter out the blank values

Hello ALL, 

I am having an issue in showing nonblank values in the visual
my table visual is coming as below

RegionMeasure1Measure2Measure3Measure4
a0.00.0 0.1
a 0.00.5 
     
a0.1 00 

 

but i am excepting like below 

regionMeasure1Measure2Measure3Measure4
a0.00.0 0.1
a 0.00.5 
a0.1 00 

 

I need to show only the columns with values (all measures) no blank column (if at least on Measure is having the value we need to so , if all the measure column have no data then we don’t need to show that column )

 

Thanks

 

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please use the measure and filter visuals when the measure is not blank.

 

Measure = 
COUNTROWS (
    FILTER (
        VALUES ( 'Table'[Region] ),
        [Measure 1] <> BLANK ()
            || [Measure 2] <> BLANK ()
            || [Measure 3] <> BLANK ()
            || [Measure 4] <> BLANK ()
    )
)

vkkfmsft_0-1651115993151.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please use the measure and filter visuals when the measure is not blank.

 

Measure = 
COUNTROWS (
    FILTER (
        VALUES ( 'Table'[Region] ),
        [Measure 1] <> BLANK ()
            || [Measure 2] <> BLANK ()
            || [Measure 3] <> BLANK ()
            || [Measure 4] <> BLANK ()
    )
)

vkkfmsft_0-1651115993151.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello! This worked for me, but now when I run my visual with no filters, it exceeds resources. Any ideas?

 

Checking back in! I realized that the measure I created always had a return, so it was producing a ton of records with no value or use. Using this filter was helpful to get the right outcome, but it was unnecessary. I just had to add blank handling to my measures that were producing these blank records.

mahenkj2
Solution Sage
Solution Sage

If you could have given little data to test, one can offer sound solution. But I think the setting in attached picture might be helpful to test. You need to click "Region" category and unselect the marked item in attached picture to avoid category with no data. Capture.PNG

Anonymous
Not applicable

This is not exactly what I am looking for
the video you shared has steps how to remove the blanks from table
I need to remove the blank from the visual table (our table doesn’t have the blanks )
the measure we created for each region those have the blanks
I am looking for a DAX which will compare all the measures columns and remove the rows which are blank for all the measure

amitchandak
Super User
Super User

@Anonymous , Power Query remove blank rows

 

refer if needed

Power Query Remove Empty/Duplicate rows: https://youtu.be/Hk8QtBfcm6k

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.

Top Solution Authors
Top Kudoed Authors