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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Lexi147
Frequent Visitor

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

@Lexi147,

 

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
Lexi147
Frequent Visitor

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 

@Lexi147,

 

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-... 





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

Proud to be a Super User!




DataInsights
Super User
Super User

@Lexi147,

 

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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