Quantcast
Channel: Developer topics
Viewing all articles
Browse latest Browse all 17903

Let the end user choose the query parameters used to pull data into Power BI using a direct query

$
0
0

I am trying to create a report from a direct query and that query has a start date and end date parameter which is used to fulfill certain WHERE conditions, say for example  WHERE EffectiveDate>StartDate AND EffectiveDate<EndDate.

 

Now as far as my understanding goes the end user has only access to the Slicer and we can then let the user slice the EffectiveDate. 

But is it possible if the end user can actually provide the Start Date and End Date and the Query then pulls in Data according to that. 

Capture1.JPG 

So in my report I am using a Slicer on the field Written_Date and on my Query I have a Start and End Date which controls the Written date that is populated from the query. So is there any way I can let the user choose the start date and end date.??

Capture2.JPG

 


Viewing all articles
Browse latest Browse all 17903

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>