Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am migrating a SSRS subreport to a paginated subreport. The subreport has a dataset that is based on a select from a stored proc. The select uses subrepport parameter. I see that I can create a parameter Power Query Editor/ Manage Parameters. But I can't see how I add this parameter to a particular query. Any idea?
Update. I was able to run SP, but when applying I am getitng the following:
Incorrect syntac near keyword EXECUTE. Incorrect syntax near ')'
Thanks
Hi @Markzolotoy
Please take a look at the following links about use DAX query, parameters with report builder if they help:
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-yetao1-msft One link shows how to add a parameter to a report, the other shows how to use SSAS with Report Builder, again not a my case.
@Markzolotoy , Are you looking for something like this
Actual code looks like this:
Source = Sql.Database("localhost", "Vanduradb_New1", [Query="EXEC SP_Name " & #"ID" & ", " & "1"])
That seems to work. When I create a paginated report based ont that dataset how will I provide the ID parameter?
User | Count |
---|---|
93 | |
84 | |
78 | |
75 | |
66 |
User | Count |
---|---|
115 | |
105 | |
93 | |
65 | |
60 |