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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
tobny76
Helper I
Helper I

Don't execute query before user select a filter

Hi,

How can I avoid the init query in a report?
I'm using query reduction in a report and want the user to press the "Apply all slicers" button for the first query to be executed.

I know I can add a default dummyfilter and let the user press "Clear all slicers".

But is it a better way of doing this without the need to let the user press "Clear all slicers first".

1 ACCEPTED SOLUTION
nilendraFabric
Super User
Super User

Hello @tobny76 

 

create a measure that checks whether specific slicers have been set.

Then, apply a visual-level filter on each chart or table so it only shows rows when this measure equals 1.

 

Power BI may still send an initial lightweight query, none of your main visuals display data unless that measure is triggered, effectively emulating “no data” by default

Something like this

 

ShowData =
VAR IsSlicerFiltered =
IIF(
ISFILTERED('Table'[SlicerColumn]),
1,
0
)
RETURN
IsSlicerFiltered

 

Hope this helps 

 

Thanks

View solution in original post

2 REPLIES 2
nilendraFabric
Super User
Super User

Hello @tobny76 

 

create a measure that checks whether specific slicers have been set.

Then, apply a visual-level filter on each chart or table so it only shows rows when this measure equals 1.

 

Power BI may still send an initial lightweight query, none of your main visuals display data unless that measure is triggered, effectively emulating “no data” by default

Something like this

 

ShowData =
VAR IsSlicerFiltered =
IIF(
ISFILTERED('Table'[SlicerColumn]),
1,
0
)
RETURN
IsSlicerFiltered

 

Hope this helps 

 

Thanks

Hi @tobny76 ,

If our response addressed by the community member for  your query, please mark it as Accept Answer and click Yes if you found it helpful.

 

Should you have any further questions, feel free to reach out.

Thank you for being a part of the Microsoft Fabric Community Forum!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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