Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31014

Dynamic URL Parameters

$
0
0

Hi Everyone,

 

Relative newbie to Power Bi so thank you for any of the help.

 

Working on a fun project for myself just to learn Power Bi and have gotten myself stumped.

 

I'm playing around with some data from URL for some video game data using the URL below as my data source.

https://esi.evetech.net/latest/markets/10000002/history/?datasource=tranquility&type_id=34

The "10000002" is linked a orders in a region, and the "34" is linked to an item in the game. Changing those variables changes the data pulled. I've set up two text parameters under the advanced tab in the Data Source Settings. I've set them to pull and have it working so that if change 34 to 35 it changes the data set (this is exactly what I want).

I have a list of all regions in the game along with the respective region names, and I also have a list of all item numbers along with their respective items.

I would like to be able to set up a filter that dynamically changes the URL based on that filter. Is that possible? So for example if 34 is Tritanium, and 35 is Pyerite (in game items) - I'd like to be able to search for Pyerite and have the URL change the 34 to a 35 and update my visuals autmatically. Like I Said before I have this working by manually typing in the Item number but would like it a bit easier to use.

 

Is this even possible? Any pointers  in the right direction would be greatly appreciated! Thank you in advance!


Viewing all articles
Browse latest Browse all 31014

Trending Articles