Forum Discussion

bmidhun's avatar
bmidhun
Frequent Visitor
1 year ago
Solved

Creating PBIR Files Dynamically Based on Dataset – Any Guidance

I’m looking to create Power BI Reports (PBIR) dynamically using either C# or PowerShell. The goal is to generate PBIR files dynamically based on a given dataset.

 

Any guidance, insights, or helpful resources on how to achieve this would be greatly appreciated.

2 Replies

  • bmidhun's avatar
    bmidhun
    Frequent Visitor

    Hi lbendlin  Thanks for replying back

     

    Apologies for the confusion earlier — it's PBIP, not PBIR.

     

    Our request is to replicate the exact folder structure of the PBIP file, as outlined below:

    Report
      .Report/.pbi
      .Report/StaticResources
      All platform files, including definition.pbir and report.json

    SemanticModel
      .pbi
      definition

    We’re essentially trying to understand whether it is possible to dynamically generate this complete PBIP folder structure using C# or PowerShell.

     

    Any guidance or pointers would be greatly appreciated.