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
sundeep579
Frequent Visitor

ISFILTERED function not working when select all is selected in a slicer

  06-04-2017 15-00-07.jpg

I have created a measure, IsFiltered = ISFILTERED(Sheet1[Column1]). ISFILTERED() is returning TRUE when I select one or more values in the slicer which is expected behaviour. But when I select 'Select All' checkbox, it is returning FALSE which is incorrect bahaviour.

 

When nothing is selected and when 'Select All' is checked, this function is returning FALSE. I want to differentiate between these to cases. I am basically looking for a measure which can tell me if a value is selected in the slicer or not.

 

I have tried using COUNTROWS & ALLSELECTED as well to try and differentiate between 'Select All' checkbox and no selection, but these two functions are returning teh same values in both the cases.

 

Can someone please help if we can create such a measure in Power BI ?

3 REPLIES 3
Anonymous
Not applicable

@sundeep579 Hi Sundeep,

 

Did you ever get a solution for this issue from Power BI team ? If not, Could you please tell me how did you sorted this out from your end ? 

 

I am also facing this issue.  I have a requirement to show data in charts only when we apply filters. However, Select ALL and Select None reacts in same way which should not be the case. 

 

Could you please help me how you were able to fix this issue ?

 

Venks

v-shex-msft
Community Support
Community Support

Hi @sundeep579,

 

>>Can someone please help if we can create such a measure in Power BI ?

Current ISFILTERED function can't find out the difference between allselect and unselect. ISFILTERED function will check the original column and current column, return "true" if they are not same

 

Regards,

Xiaoxin sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Guys

Any inputs on how to resolve this?

ISFILTERED doesn't understand the difference between all values selected and no values selected.

 

Regards

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.