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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gibberish
New Member

Dynamic URL button with multiple values from filtered table column appended.

I need to create a button who's URL is dynamic based upon the current values displayed in a table. The table values are dictated by a slicer.

 

For example, the URL should have a static prefix of "https://example.com/ASSET?", and the values produced from the slicer should be appended to the end.

 

ie. I use the slicer to filter the table. The table now shows the values "2344", "66668", "9836" in the first column. The URL should now be "https://example.com/ASSET?2344,6668,9836".

 

If I use the slicer to alter the values in the table, the URL should update to contain the new values instead.

 

Is this possible?

3 REPLIES 3
Greg_Deckler
Community Champion
Community Champion

@gibberish You could create a measure like this:

Measure = "https://example.com/ASSET?" & CONCATENATEX( 'Table', [Value], "," )

You can then apply this measure using the fX icon:

Greg_Deckler_0-1717514375367.png

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,

 

Thanks for the fast reply. I did try this previously based on some advice from elsewhere, but the URL it creates contains every value in the source table, not just the values showing on the page based on the current state of the slicer.

 

For example, I use the slicer and the table only shows 3 values now, but when I click the button it opens a URL with hundreds of values appended.

I know why this is. It's because there are already other filters affecting the table visual before the slicer is applied. It is correctly applying the slicer to the result, but it is ignoring the filters that were already applied to the visual before the slicer.

 

Is there a way around this?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.