Skip to content

Model produced by generate command not accepted by REST API of Push Dataset #5

@sdg002

Description

@sdg002

Hi All,
I have a BIM file generated by SSDT. This is very basic for now . Just 2 tables.

I want to create a Push dataset.

Step 1 - Generate command

I used the command line PbiPushTools.exe tool with the generate command, as follows

PbiPushTools.exe generate -model "ssdt_model.bim" -o "NewModel.bim"

Step 2 - Check command

I then ran the check command as follows

PbiPushTools.exe check -m  "NewModel.bim"

The output was as follows:

** CHECK model **
Checking model: **\NewModel.bim
Model validated.

Step 3 - REST API to create Push dataset

I used the following REST end point via POSTMAN
https://api.powerbi.com/v1.0/myorg/groups/[workspaceid]/datasets as documented by Microsoft here

image

I used the JWT token via Get-PowerBIAccessToken

Question

I was under the impression that the tool would convert a BIM file to a model file compatible with PUSH dataset rest api.
Microsoft's REST API for creating a PUSH dataset does not appear to be liking the model file that was created by PbiPushTools.exe. SSDT model attached.

What am I doing wrong?

Thanks,
Sau
Model - Copy.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions