Forum Discussion
Dynamic URL based on slicer selection
You can create a measure like
Dynamic URL =
SELECTEDVALUE ( 'Dim Item'[URL] ) & "?year="
& SELECTEDVALUE ( 'Dim Calendar'[Year] ) & "&month="
& SELECTEDVALUE ( 'Dim Calendar'[CalendarMonth] )
You may need to change the URL parameter names to fit.
Make sure to set the Data category of the measure to Web URL.
- AndyDD_UK1 year agoHelper III
Thanks, to add I currently have a matrix listing the items and URLs as rows...users click on the URL to open up the report....my request is pass the slicer selection(s) to the new report.
My understanding is I cannot use a measure as a row. How would I use that measure ?
- johnt751 year agoSuper User
Keep the item name on the row and add the measure as a column. You can turn on the URL Icon setting so that it only shows a link icon rather than the full URL.
- AndyDD_UK1 year agoHelper III
Can't get that to work but will try again...
Also, is the base URL the 'link' you generate when you share?....or should it be the URL in the browser ?...the browser link doesn't appear to change based on slicer selection...