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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply

Dynamic url filter from tile?

Hey guys, Power BI newb here. I'm trying to create a dynamic graph for some rain gauges. In my source URL, if you simply change the values then it updates the data. 

 

https://nwis.waterdata.usgs.gov/usa/nwis/uv/?cb_00060=on&format=rdb&site_no=08049500&period=&begin_date=2018-06-01&end_date=2018-09-01

 

 

So for this url, its showing the flow (00060 is the code for flow), at gauge number 08049500 during the dates from june to september of this year. If I have a list of codes, gauge numbers and dates, is there some sort of way to select them on my tiles and have them change the source url? Like I want to be able to click on the gauge, code and adjust the time slider and have that change the URL, halp?

 

pbi.JPG

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi whiskeybravo91,

 

As i known, one way is to save the URLs in one column previously, another way is to use query parameter to switch the date in the url, for more details, please refer to: https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/.

 

Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi whiskeybravo91,

 

As i known, one way is to save the URLs in one column previously, another way is to use query parameter to switch the date in the url, for more details, please refer to: https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/.

 

Regards,

Jimmy Tao

Yea I figured it out (finally!). I was able to save my lists of sites/dates/codes as a query, then use those as parameters. Then I used an adanced URL setting for data, at which point I could insert my 4 parameters. I'm still ironing the kinks out, but it's pretty slick. Thank you for the link!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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