Skip to content

How to Add table to existing DataSet #21

@AnalitIT

Description

@AnalitIT

Hi,

I have a Push DataSet created with one table. Now I want to add another table to the same dataset, using the following code:

`PBITable CrTable = new PBITable(dtCr);
CrTable.ParentDataset = DataSet;
DataSet.AddOrUpdateTable(CrTable);
CrTable.PublishToPowerBI(true);

DataSet.PublishToPowerBI();`

When we hit CrTable.PublishToPowerBI(true); I get the following exception:

'{"error":{"code":"ItemNotFound","message":"Table '<pi>Cr</pi>' not found in dataset 'sobe_wowvirtualserver|892d0dc4-c0f4-493f-b2b9-4e553dbefcfc'"}}'

What is the way to go to add another table to an existing DataSet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions