cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
whiskeybravo91
Helper I
Helper I

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
August 2022 update 768x460.jpg

Check it Out!

Click here to learn more about the August 2022 updates!

Power BI Dev Camp Session 25 with aka link 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, August 25 at 11a PDT for a great session with Ted Pattison!

August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors