Forum Discussion
Adding a Parameter to a Dax Query from Performance Analyzer in Report Builder
Hi Jdokken ,
I found related posts and articles, you can refer to
Detect missing parameters in DAX queries
The query contains the XXXXXName parameter, which is not declared. SSRS2008/MDX query
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks, I tried adding the Parameter in the Parameters Toolbar button in the Query Designer window. Once I do that and then try to add it in the Query (which I'm not sure if I'm doing it correctly) gives me a message of "Query Preparation failed". I Tried using,
TREATAS({@YearMonth}, 'Period'[Year Month]) but that gave me the same message.
- Anonymous5 years agoNot applicable
Hi Jdokken ,
You may try to contact Power BI team for help by creating a support ticket.
Website: https://powerbi.microsoft.com/en-us/support/
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Jdokken5 years agoHelper III
Okay, I tried submitting a support ticket.