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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply

Dynamic Power BI reports using Parameters

I have a question from this youtube video

My question is: 

What about if we have 5 parameters, Example:

 

[Query="EXEC sr_MERData '05/1/2019','12/31/2019','AAA','BBB','CCC'"]).

 

Do you know how I should deal with this? I just tried defining PARAMETER1 and added like: [Query="EXEC sr_MERData '05/1/2019','12/31/2019',&PARAMETER1,'BBB','CCC'", CreateNavigationProperties=false]). But it is not working.

1 ACCEPTED SOLUTION
artemus
Employee
Employee

Try:

 

Query="EXEC sr_MERData '05/1/2019','12/31/2019'," & PARAMETER1 & ",'BBB','CCC'"

 

Also if PARAMETER1 is a string or date, you will need

 

Query="EXEC sr_MERData '05/1/2019','12/31/2019','" & PARAMETER1 & "','BBB','CCC'"

View solution in original post

1 REPLY 1
artemus
Employee
Employee

Try:

 

Query="EXEC sr_MERData '05/1/2019','12/31/2019'," & PARAMETER1 & ",'BBB','CCC'"

 

Also if PARAMETER1 is a string or date, you will need

 

Query="EXEC sr_MERData '05/1/2019','12/31/2019','" & PARAMETER1 & "','BBB','CCC'"

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors