Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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)
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 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 8 | |
| 7 | |
| 5 |