Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Array datatype in post dataset power bi rest api

{
  "name""SalesMarketing",
  "defaultMode""Push",
  "tables": [
    {
      "name""Product",
      "columns": [
        {
          "name""reportRefreshDate",
          "dataType""DateTime"
        },
        {
          "name""userPrincipalName",
          "dataType""string"
        },
        {
          "name""displayName",
          "dataType""string"
        },
        {
          "name""isDeleted",
          "dataType""bool"
        },
        {
          "name""deletedDate",
          "dataType""DateTime"
        },
        {
          "name""lastActivityDate",
          "dataType""DateTime"
        },
        {
          "name""sendCount",
          "dataType""Int64"
        },
        {
          "name":"receiveCount",
          "dataType""Int64"
        },
        {
          "name":"readCount",
          "dataType""Int64"
        },
        {
          "name":"meetingCreatedCount",
          "dataType""Int64"
        },
        {
          "name":"meetingInteractedCount",
          "dataType""Int64"
        },
       {
       "name":"assignedProducts",
          "dataType""array"
        },
        {
       "name""reportPeriod",
          "dataType""string"
        }
      ]
    }
  ]
}
 
Is it possible to hazve array datatype in dataset table schema
1 REPLY 1
lbendlin
Super User
Super User

The equivalent to an array would be a table. However a dataset data source needs to be in tabular form, with atomic rows and columns, to be consumable by Power BI. AFAIK you cannot access table, list, record etc data types from Power BI (even though Power Query does allow you to keep them as query results)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.