cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Escillo Frequent Visitor
Frequent Visitor

Problem for Change an URL parts with a combobox

hello everyone

 

(I'm sorry if my English is bad, I'm French and I'm not an expert in this language)

 

I have a problem with a job given by a colleague and I have little knowledge of Power Query (and VBA is worse).

 

I explain: I have collected data from a URL of a site that compiles the statistics of visits on the homepage of our site. This URL contains filters generated by the statistics site. Among these filters, there is a date. The statistics are those of the month of the filtered date. I need to set up a drop-down list in which each option will change the date directly in the retrieved URL, and this on the same starting sheet.


Example: if I choose "November 2018" in the drop-down list, the date in the URL will become "01-11-2018", for "December 2018", it will become "01-12-2018", etc. after.

 

I have already looked everywhere to add parameters to Power Query and to dynamically modify the URL with VBA, but I can not find a precise answer to my problem.

 

Can you help me please?

 

Best regards.

 

 

 

3 REPLIES 3
Escillo Frequent Visitor
Frequent Visitor

Re: Problem for Change an URL parts with a combobox

Up please

Community Support Team
Community Support Team

Re: Problem for Change an URL parts with a combobox

@Escillo,

 

You may take a good look at the following posts.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Escillo Frequent Visitor
Frequent Visitor

Re: Problem for Change an URL parts with a combobox

Thank you, your links have already helped me understand that I can not use the & operator for a number and many others things, I must first convert it to text with Number.ToText ().

 

But I did not find the answer I wanted and another was addressed by my colleague.

 

I would like tu use this month settings in the main function instead of the code, how i am doing please?

Capture.JPG

 

And i have discover an antoher problem, The function MATOMO generates a function called each time it is used, how to make it the same function that is updated?

Capture02.JPG

 

 

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 75 members 1,244 guests
Please welcome our newest community members: