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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

PARAMETER FOR END USERS WHEN THEY VIEW THE REPORT ON POWER BI SERVICE AND POWER BI MOBILE APP

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

1 ACCEPTED SOLUTION
DataInsights
Super User
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 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Anonymous
Not applicable

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:

 

https://community.powerbi.com/t5/Desktop/Passing-user-selected-values-to-a-query-to-another-query/m-p/2489662 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




DataInsights
Super User
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 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.