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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Accessing HTML table Data through API using Power Query

Hi everyone. 



I have a url (HTML) not json like this one (the url down is not real) :  


i should  add employee number after the / 

and it will return a table with one row of employee information 

i need to create a dashboard in power bi that allow the employee enters his number and his information table is returned to him

i do not know if this even possible in power bi ?


thank you .. 


Community Support
Community Support

Hi @hana123 ,


Yes, it is possible to create a dashboard in Power BI that allows an employee to enter their employee number and displays their information in a table. Here's one way you could do it:

  • In Power BI, create a new dashboard and add a text input control to the dashboard. This will allow the user to enter their employee number.
  • Add a table visualization to the dashboard. This will be used to display the employee information.
  • In the text input control, set up a measure that concatenates the URL with the employee number entered by the user. For example:
URL & "/" & EmployeeNumber
  • Use the Power BI REST API to retrieve the employee information from the URL. You can do this by creating a custom function in Power Query that uses the Web.Contents function to retrieve the data.
  • Use the custom function to retrieve the employee information and load it into the table visualization on the dashboard.
  • Set up the dashboard to refresh whenever the employee number is changed, so that the employee information is always up to date.

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.

Best Regards,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-henryk-mstf Henry, please use the term report rather than dashboard. Dashboards are not interactive beyond hover and click through.

Super User
Super User

Dynamic M query parameters in Power BI Desktop - Power BI | Microsoft Learn are only available for Direct Query data sources, not for Web data sources.


Use a PowerApps visual inside your Power BI report instead.

Helpful resources


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors