Forum Discussion
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
| Region | Measure1 | Measure2 | Measure3 | Measure4 |
| a | 0.0 | 0.0 | 0.1 | |
| a | 0.0 | 0.5 | ||
| a | 0.1 | 00 |
but i am excepting like below
| region | Measure1 | Measure2 | Measure3 | Measure4 |
| a | 0.0 | 0.0 | 0.1 | |
| a | 0.0 | 0.5 | ||
| a | 0.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
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 () ) )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.
6 Replies
- v-kkf-msft
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 () ) )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.- FierceBitnet23Regular Visitor
Hello! This worked for me, but now when I run my visual with no filters, it exceeds resources. Any ideas?
- FierceBitnet23Regular Visitor
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.
- amitchandak
Super User
Anonymous , Power Query remove blank rows
refer if needed
Power Query Remove Empty/Duplicate rows: https://youtu.be/Hk8QtBfcm6k
- AnonymousNot 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 - mahenkj2
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.