Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hello,
I hace some files with location data (latitude, longitude) in them. In my multidimensional solution, when I do the ETL with SSIS I have an script task which call a bing maps web service (https://msdn.microsoft.com/es-es/library/ff701710.aspx) passing latitude and longitude as parameters. The resulting data is added to my cube.
I want to do thse same in Power BI, can I do it?
You might be able to get there with some fancy "M" coding:
https://msdn.microsoft.com/library/Mt253322?ui=en-US&rs=en-US&ad=US
What is the purpose/use of the information? Is it to plot the location or is there some other information coming back? I tried your link. With my limited ability to read what I believe is Spanish, it looked like an error "page not found".
The purpose is get information about the adress passing a point (latitude, longitude).
Here is the link:
Another option might be to use R Script. File | Options and Settings | Options | R Script to enable.
Using R or M I can call a web service passing parameters using data form my data model?
Any example?
Haven't really played around with R in that context. M does have a category of functions called "Access data functions":
https://msdn.microsoft.com/en-us/library/mt296615.aspx
There are a number of options and the specific answer is going to depend on the type of web service. You can definitely use M to build something like a web service URL using static text plus columns/fields from your data. So, I could imagine a custom column in the query that concatenated the appropriate URL per location and then an M function to grab the data and add it as custom colums to each row.
In general, Power BI typically is not used in this dynamic fashion but rather you connect to a data source, import the data and build the model. That being said, a very interesting use case here and would make a good blog article.
Thanks for your ideas, smoupre!
If I get the solution I will post here anyway.
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
110 | |
97 | |
93 | |
87 | |
68 |
User | Count |
---|---|
173 | |
134 | |
132 | |
102 | |
95 |