Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I like PowerBI but have some issues. How to set Query in the start like an XML file inside the URL as Query?
Solved! Go to Solution.
Hi @toplisek - You cannot pass a full XML or DAX/M Query string in the URL and have Power BI execute it., You can add query parameters to the report URL to filter visuals on load.
suppose, if you are store XML in a data source (Excel, SQL, Blob, SharePoint)Load and parse it in Power Query (Power BI supports parsing XML). Use the parsed data to control logic
reflinks:
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters
https://community.fabric.microsoft.com/t5/Desktop/URL-filtering-in-report-not-working/td-p/3173913
Hope this helps.
Proud to be a Super User! | |
Hi @toplisek ,
Power BI, if you want to load data from a URL that returns XML (e.g., an API that serves XML responses), you can use the Web connector and then parse the XML using Power Query. Unfortunately, Power BI doesn't allow embedding XML data directly in the query URL as part of a payload in a traditional REST POST call — it primarily supports GET requests via the Web connector.
However, here's how you can load XML data from a URL at the start:
Open Power BI Desktop and go to Home > Get Data > Web.
In the URL field, paste the link to the XML file or endpoint (e.g., https://example.com/data.xml?param=value).
Click OK, and Power BI will load the XML data structure.
Power Query Editor will open where you can navigate the XML hierarchy, expand nodes, and transform the data as needed.
Once you're done shaping your data, click Close & Apply.
If your XML needs to be passed in the body of a POST request (instead of via URL), Power BI does support this using Advanced Options in the Web connector — there, you can switch the HTTP method to POST and paste the XML payload manually.
Hi @toplisek,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @toplisek,
May I ask if you have resolved this issue? If so, please mark it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @toplisek ,
Power BI, if you want to load data from a URL that returns XML (e.g., an API that serves XML responses), you can use the Web connector and then parse the XML using Power Query. Unfortunately, Power BI doesn't allow embedding XML data directly in the query URL as part of a payload in a traditional REST POST call — it primarily supports GET requests via the Web connector.
However, here's how you can load XML data from a URL at the start:
Open Power BI Desktop and go to Home > Get Data > Web.
In the URL field, paste the link to the XML file or endpoint (e.g., https://example.com/data.xml?param=value).
Click OK, and Power BI will load the XML data structure.
Power Query Editor will open where you can navigate the XML hierarchy, expand nodes, and transform the data as needed.
Once you're done shaping your data, click Close & Apply.
If your XML needs to be passed in the body of a POST request (instead of via URL), Power BI does support this using Advanced Options in the Web connector — there, you can switch the HTTP method to POST and paste the XML payload manually.
Hi @toplisek,
Thank you for posting your query in the Microsoft Fabric Community Forum, and thanks to @rajendraongole1 for sharing valuable insights.
Could you please confirm if your query has been resolved by the provided solution? If so, please mark it as the solution. This will help other community members solve similar problems faster.
Thank you.
Hi @toplisek - You cannot pass a full XML or DAX/M Query string in the URL and have Power BI execute it., You can add query parameters to the report URL to filter visuals on load.
suppose, if you are store XML in a data source (Excel, SQL, Blob, SharePoint)Load and parse it in Power Query (Power BI supports parsing XML). Use the parsed data to control logic
reflinks:
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-url-filters
https://community.fabric.microsoft.com/t5/Desktop/URL-filtering-in-report-not-working/td-p/3173913
Hope this helps.
Proud to be a Super User! | |
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
68 | |
64 | |
52 | |
39 | |
26 |
User | Count |
---|---|
80 | |
57 | |
45 | |
44 | |
35 |