Forum Discussion

ak77's avatar
ak77
Post Patron
2 years ago

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?  

 

 

 

 

1 Reply

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