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

Filter related issues

Hello all,

 

Below is the issue that I have:

 

Basic filter is added to report and SELECT ALL is set to OFF but when after clearing the filter it gives ALL values.

For Example: For YearMonth Selection control is set as single select.

 

After clicking CLEAR SELECTION it give All values

 

With Select all = Off and Select Single = On, Clear filter should clear all selected values and display blank report untill new value is selected.

 

We are using SAP HANA direct query mode as source and latest Power BI version (December 2018)

 

Let me knwo if I am mising some setting or doing something wrong. Is there a solution to this issue or it will behave this way only.

 

Thanks

Regards

Priyanka

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

Hi @INJAINP,

 

If there is no value selected in the slicer visual, it means no filter condition is set, the report will returns data without any filter. 

 

For your requirement, to workaround the issue, you can create a measure with HASONEVALUE() to decide if one value is selected in the slicer. 

 

Measure = IF(HASONEVALUE(DimSalesTerritory[SalesTerritoryGroup]),1,BLANK())

 

 

w1.PNGw2.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
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-qiuyu-msft
Community Support
Community Support

Hi @INJAINP,

 

If there is no value selected in the slicer visual, it means no filter condition is set, the report will returns data without any filter. 

 

For your requirement, to workaround the issue, you can create a measure with HASONEVALUE() to decide if one value is selected in the slicer. 

 

Measure = IF(HASONEVALUE(DimSalesTerritory[SalesTerritoryGroup]),1,BLANK())

 

 

w1.PNGw2.PNG

 

Best Regards,
Qiuyun Yu 

Community Support Team _ Qiuyun Yu
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.