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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Ramyzo
Helper II
Helper II

Pass Parameter to the MDX source query

Greeting , 

 

so im imported some data from my cube , i created a paramter called year as text type and gave him the default value of 2012  and i decided to add that parameter to the MDX source query in my advanced editor , any tips or how i add that ? 

 

FROM ( SELECT ( { [Axe Temps].[Temps].[Year].&[2012]} ) ON COLUMNS FROM [Sales Cube]) ==> this is the line where i want to add the parameter (i want to add year instead of the number 2012 ) 

 

thanks in advance 

1 REPLY 1

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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