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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Post Patron
Post Patron

Direct query Slicer Selection

Hi BI Gurus


I have a direct query where i pass 'Code' slicer  as parameter to the directquery and get all data for the code selected..


my direct query looks as below:SELECT *FROM [PERFORMANCEDM].[dbo].[look_through_temp_dashboard]where portfolio_code='" & PortfolioCodeParameter & "'"]


i expect when i select the date parameter.. the direct query should not be executed as i have all data for all dates related to a code at power bi level.


my question: can the direct query call be disabled when only date slicer is selected  and enabled when code is selected?  





Super User
Super User

@ak77 , Please check if you are using bi-directional join. if you are using one avoid those.

Helpful resources

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors