How to connect to a SOAP API in Power BI/ Power Query

  Рет қаралды 12,722

Curbal

Curbal

Күн бұрын

Пікірлер: 45
@MyGarageWorkshop
@MyGarageWorkshop 2 ай бұрын
❤ Thank you so much! I have been trying to find a solution to this for quite some time. Excellent!
@CurbalEN
@CurbalEN 2 ай бұрын
My pleasure!
@joanneosborne2428
@joanneosborne2428 Жыл бұрын
Amazing! Thanks, Ruth, I love all your training videos. ❤❤
@CurbalEN
@CurbalEN Жыл бұрын
Thanks ❤️❤️❤️
@bjcomrie
@bjcomrie 11 ай бұрын
This was brilliant. Thanks for the effort.
@flaviocarvalhokato6109
@flaviocarvalhokato6109 6 ай бұрын
God bless you. You saved me. Thank you very much!
@CurbalEN
@CurbalEN 6 ай бұрын
😃
@Sterh20
@Sterh20 2 жыл бұрын
Very helpful video. You saved me a lot of time. Thank you.
@CurbalEN
@CurbalEN 2 жыл бұрын
Music to my ears :)
@raf_martins
@raf_martins 6 ай бұрын
Im so greatful! Really thank you. It help me a Lot.
@Silencioraul
@Silencioraul Жыл бұрын
You are a genius !!! Thank you very much.
@CurbalEN
@CurbalEN Жыл бұрын
☺️
@jregusci
@jregusci 5 ай бұрын
Thank you for the video! Also, you don´t need to encode the double quotes, it works fine using the double quotes directly.
@CurbalEN
@CurbalEN 5 ай бұрын
Thanks!
@vbonetti
@vbonetti Жыл бұрын
amazing video! so useful and the only source available on this topic that I found - thanks so much! Is there a follow up video to learn how to add a parameter in that code so that the value of the main variable can be set in an excel cell for example? ☺That would be so good! 😅
@CurbalEN
@CurbalEN Жыл бұрын
I dont have a video, but if you ask in the power bi community somebody probably has done it :)
@alex1s85alex3
@alex1s85alex3 Жыл бұрын
Hi, i really love your videos. Is there a way to make soap get requests with sha256 encryption using a private key?
@Milhouse77BS
@Milhouse77BS 2 жыл бұрын
SOAP :) What 90's madness is this? :) I did my share 10-20 years ago :)
@CurbalEN
@CurbalEN 2 жыл бұрын
😂😂
@arossi901
@arossi901 6 ай бұрын
Thank you very much! My report in PowerBi works correctly with 3 soap data sources, however the data update only works locally with PowerBi desktop, when I publish the report I have not found a way to have an update via gateway when one wants as for the other reports, I can schedule it but it is not on request Is there a way to do it ? The correct behaviour shoul be the same of a report with direct query through gateway thanks
@CurbalEN
@CurbalEN 6 ай бұрын
Web queries require a personal gateway :(
@arossi901
@arossi901 6 ай бұрын
@@CurbalEN With other PBI reports I use the Microsoft On-premises data gateway, this gateway works for direct query (update on the spot when user ask it) and import (update scheduled in the semantic models). What could be a personal gateway for replicate the update per request with a Soap data source ? I could write something in c# that every 5 minutes push data in a msql table or directly with msql server a stored procedure that take the data from soap for store it in a table. What do you suggest ?
@CurbalEN
@CurbalEN 6 ай бұрын
@arossi901 absolutely, you can also push to a pbi dataset: powerbi.microsoft.com/it-ch/blog/push-rows-to-a-power-bi-streaming-dataset-without-writing-any-code-using-microsoft-flow/
@l3rvn0
@l3rvn0 Жыл бұрын
It's possible do the same using a .svc SOAP webservice?
@Aaaryaa
@Aaaryaa 5 ай бұрын
@l3vrn0 - Did you get answer on this ?
@l3rvn0
@l3rvn0 5 ай бұрын
​@@Aaaryaa I was able to successfully connect to my svc webservice using a PowerQuery. Something like this: let url = "", SOAPEnvelope = "", options = [ #"Content-Type"="text/xml;charset=utf-8", #"SOAPAction"="" ], Source = Xml.Tables(Web.Contents(url, [Content=Text.ToBinary(SOAPEnvelope), Headers = options])) in Source
@danieltellesdemenezes8587
@danieltellesdemenezes8587 Жыл бұрын
Great video! It has helped me starting a Power Query (Excel) connection to a webservice. However, although the ws works with SOAP UI, I'm getting an error in Power Query. "The underlying connection was closed: unexpected error on a send." Any suggestions?
@AlexisKatopodis
@AlexisKatopodis 2 жыл бұрын
I tried to follow you to see the actual data (read method) of the call to the SOAP web service, but I saw only the column names. Do you believe that I can see them?
@CurbalEN
@CurbalEN 2 жыл бұрын
Yes, you can. You are probably doing something wrong :(
@bravucod
@bravucod 2 жыл бұрын
What is a good resource to learn about apis with power query ?
@CurbalEN
@CurbalEN 2 жыл бұрын
I have a section dedicated for apis: curbal.com/curbal-learning-portal
@bravucod
@bravucod 2 жыл бұрын
@@CurbalEN you are awesome thanks
@talihiggins5947
@talihiggins5947 2 жыл бұрын
I haven't seen that changing the " to #(0022) before. Is that a Power Query thing, or does it work in more languages? I know I've done things like changing a single quote to a double quote, etc, in Python before - could you have just changed it to a single quote? Very curious about this!
@CurbalEN
@CurbalEN 2 жыл бұрын
It is because it is inside Text.ToBinary so it gets encoded properly. You can also use Character.FromNumber(34) community.powerbi.com/t5/Desktop/How-to-get-data-from-a-SOAP-WS-with-Power-BI/td-p/29040
@amrutapatil7159
@amrutapatil7159 Жыл бұрын
I have tried by following what you have done but i have get internal error could please help me
@leemeiwah
@leemeiwah 2 жыл бұрын
Hi Ruth, I've tried by following what u've done but I've a (500) Internal Server Error. I've tried to download your pbix file but unable to find it. Pls help. Thks! 😅😅
@CurbalEN
@CurbalEN 2 жыл бұрын
Yes, I should put it in the download Center. I got the 500 error when I had a syntax mistake. Review your code or better yet, start from scratch and carefully paste the code . Will put the file on the DC on Monday.
@leemeiwah
@leemeiwah 2 жыл бұрын
@@CurbalEN Thank you! 🙂
@amrutapatil7159
@amrutapatil7159 Жыл бұрын
I have tried but not get any data could please help me
@CraigEvans-gd2er
@CraigEvans-gd2er 2 жыл бұрын
Works great in Power Query, although I have just encountered a 400 error when the SOAP envelope calls for an Integer (Int) rather than a string value, or at least I think that is the problem because it is the only parameter that has changed
@CurbalEN
@CurbalEN 2 жыл бұрын
Convert the int to text and you are good to go :)
@CraigEvans-gd2er
@CraigEvans-gd2er 2 жыл бұрын
Actually my mistake was as simple as changing the SOAP envelope from vstr to vint
@CurbalEN
@CurbalEN 2 жыл бұрын
It is always the smallest things that break the code 🤦‍♀️, but on the bright side: congrats for finding it !! 🥳
@ahv5457
@ahv5457 Жыл бұрын
Hi, I am getting data from an API that has two parameters like below in the URL: Param1930=2021-01-01&Param1931=2030-12-31&format=JSON These are the start and end dates of the report that I have manfully set up in the API URL. But, how do I make it dynamic so that everyday that I refresh the data in Power BI connect to the API and pull the latest data? My current M code is something like below: let Source = Json.Document(File.Contents("C:\Users\Ali\AppData\Local\Microsoft\Windows\INetCache\IE\EHD7MHFN\1120")), #"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error), #"Expanded Column1" = Table.ExpandRecordColumn(#"Converted to Table", "Column1", {"txtProvider", "txtIncidentNo", "FltDate", "LogTime")
@pritichaudhari7596
@pritichaudhari7596 Жыл бұрын
how to get Data from RESTful API which has "two Factor Authentication" e.g. Maconomy RESTful API framework.
How to Use List Generate to Make API calls in Power Query
18:27
BI Gorilla
Рет қаралды 43 М.
Getting Started with Power Query APIs - It's surprisingly easy!
9:17
MyOnlineTrainingHub
Рет қаралды 134 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
How to do SOAP API requests in Python
9:43
Curbal
Рет қаралды 23 М.
Dynamic Power BI reports using Parameters
12:21
Guy in a Cube
Рет қаралды 401 М.
Power Automate - How to Call a SOAP API
12:42
M365 Tech Help
Рет қаралды 14 М.
Get SharePoint List Data with Power BI ... Fast
21:04
Hoosier BI
Рет қаралды 36 М.
Set Up Automatic KPI Trackers | Dynamic Alerts in Power BI Desktop
17:40
Extract from JIRA to Power BI (using Power Query)
17:28
The Introverted Manager Show
Рет қаралды 14 М.
The Magic of Working with Lists in Power Query
14:27
Goodly
Рет қаралды 97 М.
The Magic of working with Records in Power Query
10:28
Goodly
Рет қаралды 42 М.