Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Gopal_PV
Helper III
Helper III

My Power BI Report builder is Not validating DAX Parameters in the Dataset

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.DAX.png

 

Regards

 

 

 

 

 

1 REPLY 1
Anonymous
Not applicable

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.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.