Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm requesting data from an odata service.
I would like to add the authorisation header manually to the advanced editor.
I'm using basic auth.
How can that be done?
This is my code:
let
Kilde = OData.Feed("https://odata.uniconta.com/odata", null, [Implementation="2.0"]),
DebtorInvoiceLines_table = Kilde{[Name="DebtorInvoiceLines",Signature="table"]}[Data],
FilterLogic =
if
FilterRows <= 0
then
DebtorInvoiceLines_table
else
Table.FirstN(
DebtorInvoiceLines_table,
FilterRows
),
#"Fjernede kolonner" = Table.RemoveColumns(FilterLogic,{"Cartons", "Weight"}),
#"Filtrerede rækker" = Table.SelectRows(#"Fjernede kolonner", each [Date] >= #datetime(2020, 1, 1, 0, 0, 0))
in
#"Filtrerede rækker"
Hi, @Anonymous
Please check if these related thread could help:
authenticating with Excel Power Query against .Net Odata Web Api
Power BI Query - post api request for authenticating and then make api calls
Best Regards,
Community Support Team _ Eason
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
91 | |
50 | |
44 | |
40 | |
35 |