Forum Discussion
tmendoza
Resolver I
10 months agoDynamic M Query Parameters not working when I make slicer selection
You folks have always been a great help to me. What am I doing wrong with my Dynamic M Query Parameter set up? I'm trying to speed up my Direct Query by utilizing Dynamic M Query Parameters. I fo...
parry2k
Super User
9 months agotmendoza, there is no setting as such. I'm wondering if you run the query in the backend using SSMS or other tool with the same slicer value, does it work? I'm wondering if there is some issue at the source that the query is not returning the data.
tmendoza
Resolver I
9 months agoJust checked. Backend is working fine. The data is also returned at the power query editor level and report view. The break specificaly happens once a slicer selection is made using the bound parameter. From what I can see, I'm using the right format for it.
let
Source = Sql.Database("ABCD.Server.com", "Database",
[Query=
"
SELECT *
FROM dbo.vPLGL_ISDashboard
WHERE Period = " & Number.ToText(fiscal_period)]
)
in
Source