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
abhiram342
Employee
Employee

Measure to display query string parameter from report url

Hi all - We have created report based on dynamic m paramters using direct query. We want to pass query string paramter from report url and assign the value to dynamic m parameter. Currenlty, the functionality Works fine but only issue is we want to know what's parameter value being passed in the url . I created measure but it's not working fine. Can you please help.

Example:

Model:

abhiram342_0-1708984401157.png

Result by passing below parameter to report (filter=ProductSearch/ProductIdFilter eq 'Job6789_8d02ac83dfd6')

functionality works fine but Selected Value is displaying Blank

SelectedValue = SELECTEDVALUE('ProductSearch'[ProductIdFilter])

 

 

 

abhiram342_1-1708984526315.png

 

Thanks,

Abhiram

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

needs to be a column and that column needs to be bound to the dynamic M parameter.

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

needs to be a column and that column needs to be bound to the dynamic M parameter.

Thanks @lbendlin ! Our dataset size is big hence using this approach.

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.