The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
I've got a peculiar issue. I have a report which uses a table I'm creating within the M of my PBiRS (see below...) to then bounce off some APIs to actually gather the data. All work beautifully, but because it is a self-created data source, I can't schedule a refresh!
The solution is to simply recreate the fixed data table source as a file share which would allow me to schedule a refresh, but this seems daft, consider the source data will never change and it's the API data which is the active source in actuality.
My question is, is there any smoother solution to this?
M:
***
let
FRefTable = #table(
type table
[
#"Year"=text,
#"YearRef"=text
],
{
{"2005","R05"},
{"2006","R06/0"},
{"2006","R06/1"},
{"2006","R06/2"},
{"2006","R06/3"},
{"2006","R06/4"},
{"2007","R07/0"},
{"2007","R07/1"},
{"2007","R07/2"},
{"2007","R07/3"},
{"2007","R07/4"},
{"2008","R08"},
{"2009","R09"},
{"2010","R10"},
{"2011","R11"},
{"2012","R12"},
{"2013","R13"},
{"2014","R14"},
{"2015","R15"},
{"2016","R16"},
{"2017","R17"},
{"2018","R18"},
{"2019","R19"},
{"2020","R20"},
{"2021","R21"},
{"2022","R22"},
{"2023","R23"},
{"2024","R24"},
{"2025","R25"},
{"2026","R26"},
{"2027","R27"},
{"2028","R28"},
{"2029","R29"},
{"2030","R30"}
}
),
and then a load of data gathering stuff goes here...
***