Forum Discussion

mdsajidfaizan's avatar
mdsajidfaizan
Regular Visitor
9 years ago

Create Dataset using .NET SDK

Hello All,

I am trying to use Datasets.PostDataset from Microsoft.PowerBI.Api.V1 dll.

I am not able to pass dataset value to it. Can anyone show me a sample example on this method utilization.

 

Thanks You.

1 Reply

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    mdsajidfaizan wrote:

    Hello All,

    I am trying to use Datasets.PostDataset from Microsoft.PowerBI.Api.V1 dll.

    I am not able to pass dataset value to it. Can anyone show me a sample example on this method utilization.

     

    Thanks You.


    mdsajidfaizan

    Are you talking about creating a dataset in Power BI Embedded or in Power BI.com? I've digging into the online documentation and found that the V1 Api seems only work for Power BI Embedded. For Power BI.com, you can reference Create a dataset in Power BI.