Forum Discussion

Fernando_Morata's avatar
Fernando_Morata
New Member
7 years ago
Solved

Parameter to switch between source queries.

In my Dash Board I have two queries, one query that returns the code and the name of the project and the other is a proc. Is it possible to get the name of the selected project to pass as parameter in proc to query in sql database?

My idea would be as if it were a .net form with a combobox where after selecting the project, the system would show the data for the selected project.

The instruction of the second query looks like this:

exec [dbo]. [pr_PBIControlled] @ProjectName (The @ProjectName is the name of the project that I selected in the previous query).

 

Thank you for your help.