Morning all,
I trying to move data from a PowerBI table in the model to an external CSV file. Exporting from the visual gives the "sampling may occur" warning. The flow saves successfully, but the run fails:
{
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entity": {
"type": "object",
"properties": {
"Power BI values": {
"title": "Power BI data",
"type": "array"
}
},
"required": [
"Power BI values"
]
}
},
"required": [
"entity"
]
}
}
},
"required": [
"rows"
]
}
I have seen a similar post to this where the suggestion is to convert the "PowerBI Data" object to an array which "Make CSV" would then accept. But the array(), createArray() functions don't allow PowerBI Data as an argument, and surrounding [PowerBI Data] with [] does not work.
There is data in the table, so I am not sure at what level the array it is looking for is empty.
My PowerBI version is Version: 2.105.664.0 64-bit (May 2022).
Thanks for any help you can give.