Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello,
I get data to create reports on Power BI desktop by Direct Query from a SQL store procedure
My store procedure have 4 parameters (from date - to date, type and level)
How I can create 4 parameters on my reports on power bi desktop for the end - users can select or fill the value of parameter and then the result will be displayed on the report after the store procedure runned.
Looking forward to receiving you guys reply,
thank you
Solved! Go to Solution.
@Anonymous,
You could try Dynamic M Query Parameters:
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters
Proud to be a Super User!
Thank you for your prompt reply!
I read multiple documents of microsoft for power BI and I saw two types of of queries which are 'kusto query' and 'dynamic M query', do you have any idea about the information related to two types of query such as the usage purpose or the structure, syntax, rules to work on these queries?
thank you for your clarification
@Anonymous,
I haven't used Kusto query, but I have used dynamic M query parameters with SQL Server. See if the solution below can be adapted to your scenario:
Proud to be a Super User!
@Anonymous,
You could try Dynamic M Query Parameters:
https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters
Proud to be a Super User!
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
52 | |
41 | |
39 | |
37 |