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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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