Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello! I'm very new to Power Query, I searched for a few solutions, but haven't really gotten nowhere.
What I'm trying to do is get the main table from this site (don't worry it is from the brazilian government): https://cvmweb.cvm.gov.br/SWB/Sistemas/SCW/CPublica/CDA/CPublicaCDA.aspx?PK_PARTIC=172817
The issue is there is a dropdown menu and the standard date that I get is the most recent one. I need to change that date for 3 months ago.
From what I gathered using Postman, the variable that I need to change is ddCOMPTC, but I'm not really sure how to do it. The code I'm trying to work with is this (but maybe I'm doing it completely wrong):
let
Content1 = "108123873",
Fonte = Json.Document(Web.Contents("cvmweb.cvm.gov.br/SWB/Sistemas/SCW/CPublica/CDA/CPublicaCDA.aspx?PK_PARTIC=172817", [Headers=[#"Content-Type"="aplication/x-www-form-ulrenconded"], Content=Text.ToBinary(Content1)]))
in
Fonte
The URL you request does not result in a JSON document. You can use F12 in any modern browser to look at what sources are requested. (use the network tab and press F5 to refresh)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.