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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
YJ
Resolver II
Resolver II

Visualization to show only one result , No result when TEXTBOX FILTER is empty (reason not working)

Hi all,

This is more of a question of why and not how.

My primary intent is such that when using the TextBox filter on powerbi destop, it should not show all the info when the TEXTBOX is empty.

This is what i have tested:

As a means of testing i created 3 measures:

_HOV_Group = HASONEVALUE(ITEMGROUP[Group])
_TextSearch_Group = if(HASONEVALUE(ITEMGROUP[Group]),1,0)
SlicerCheck = if(calculate(distinctcount(ITEMGROUP[Group]),allselected(ITEMGROUP[Group]))=1,1,0)

TEXTBOXQNS.JPG

https://drive.google.com/open?id=1amSM3wJiHRVBcOZjiC1Aga0K40ATVaN4 

 

 I saw on other threads and gotton the solution by using the 3rd measure, SlicerCheck and put it on the visualization filter (show items when the value iss 1) as show in the photo.
This solved my primary intented concern but i like to know why when using the _TextSearch_Group measure it does not work when logically and also through validations from the display Card values, these  2 measures return the same values consistently?? 
Regards
Skye

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

@YJ 

 

By dragging [Group] and measures to a Table visual, you'll find the difference.

 

Community Support Team _ Sam Zha
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

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@YJ 

 

By dragging [Group] and measures to a Table visual, you'll find the difference.

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.