Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello
I want to retrieve the data by changing the "produce Name" section using the dynamic url address.
How can I
For example; ADEL, ULKER
"https://www.isyatirim.com.tr/_layouts/15/IsYatirim.Website/Common/Data.aspx/MaliTablo?companyCode=" & produceName & "&exchange=TRY&financialGroup=XI_29&year1=2024&period1=12&year2=2024&period2=9&year3=2024&period3=6&year4=2024&period4=3"
produceName = "EREGL"
You can use the list definitaion and using List.Transform. SO creat a list including all the product name as :
a={"ADEL", "ULKER"} ,
then use list.transform to convert the text to the url as bellow.
b=List.Transform(a, each
"https://www.isyatirim.com.tr/_layouts/15/IsYatirim.Website/Common/Data.aspx/MaliTablo?companyCode=" & _ & "&exchange=TRY&financialGroup=XI_29&year1=2024&period1=12&year2=2024&period2=9&year3=2024&period3=6&year4=2024&period4=3")
it going to convert all the text into the url so in the next step you can load the data by another list.transform as
=List.Transform(b, each Web.Contents(_))
I don't understand exactly how it is done, if you don't mind, is it possible for you to share your PBI transfer?
Just go to the power query Editer, and then Advance editor, and past the next code.
let
Part1="https://www.isyatirim.com.tr/_layouts/15/IsYatirim.Website/Common/Data.aspx/MaliTablo?companyCode=",
Part3="&exchange=TRY&financialGroup=XI_29&year1=2024&period1=12&year2=2024&period2=9&year3=2024&period3=6&year4=2024&period4=3",
Products={"ADEL", "ULKER"},
Combine=List.Transform(Products, each Json.Document(Web.Contents(Part1&_&Part3)))
in
Combine
Thank you very much
Can I have it poured into the products table?
Can you share the image of your product table?
Adding pbix file does not allow
Can you proceed with the product codes in the example?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 6 | |
| 5 |