Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Folks
I have Power BI Paginated report which is Working fine. It have ssas as source. There is No of Pages of DAX Code which have spaces and tabs.
I have trimmed spaces and tabs to fit into Report dataset Queypane.
Now i am facing strang error The query contains the 'M' parameter, which is not declared. The M is First Parameter in the DAX. I have other 8 Paramerters.
I have changed paramters and conditions into separate line and removed spaces and tabs.
Still unable figure out what is the cause. The same code is working fine DAX Studio with Paramters.
Can you please help how to do that if i am missing anything.
Can you please help any other proper website which remove spaces and tabs.
The old report also have same parameters its working fine. New changed code is getting this error.
Regards
Hi @Gopal_PV ,
This is the related document, you can view this content:
Detect missing parameters in DAX queries - SQLBI
Declaring variables in Power BI Report Builder - Microsoft Fabric Community
[0239-0dae-ffe-ee36] (microsoft.com)
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
11 | |
9 | |
6 | |
5 | |
4 |