cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mihamn
New Member

Create CSV: The 'from' property value in the 'table' action inputs is of type 'Null'. The value must be of type 'Array'.

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:

powerautomateflow2.pngpowerautomateflow.png

 

 

{
  "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.

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,254)