Forum Discussion

Claster's avatar
Claster
Advocate II
9 years ago

PowerBI API category type column & calculating column

Hello, i use this article http://docs.powerbi.apiary.io

 

I have this code for creating a data set

 

{
  "name": "Table",
  "defaultMode": "Push",
  "tables": [
    {
      "name": "Task",
      "columns": [
        { "name": "Id", "dataType": "int64" },
        { "name": "href", "dataType": "string" }
      ]
    }
  ]
}

I want see href like this (In PowerBI Desktop we use column catagory URL) but in API a can't

 

 

 

How I can do this in API (to set category for my column)

 

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    Claster

    AFAIK, Create dataset doesn't support "data category"(in your case, it is "web ur;"). You can submit your idea at Power BI Ideas and vote it up.

     

    By the way, for Power BI REST API documentation, you can reference Power BI REST API reference. I think the site in your post has stopped updating.