r/dataengineering • • 12d ago

Help DBT/Redshift to Powerbi Semantic Model Description Sync

I want to be able to use the PBI mcp so users can ask natural language questions about reports/questions in general, but to make it work well you need the semantic models to have column level descriptions. I’m using Redshift/DBT, so my column descriptions live in yaml files. To sync the descriptions to the semantic models via CI/CD, it seems like I would need to have the pbib files in Git and use something like fabric-cicd, but that would require analysts to use git for any changes they make to the semantic model (measure changes is the biggest thing). Is there some option to make this easy that I’m missing?

4 Upvotes

2 comments sorted by

2

u/FridayPush 6d ago

If you set persist_docs to true in your DBT configs, Redshift stores table and column comments in the warehouse. Tools like DBeaver/Pycharm then lets users mouse over a column and see a popup of descriptions. Though I still suggest using a more comprehensive workflow so you can have multiparagraph table descriptions.

Alternatively add the DBT Elementary package and then it'll update a models/column table with the live state that can just be queried by anything. I'm not familiar with Powerbi to provide better approaches. We have a DBT Job that runs once on a merge to main and use the Artifacts from the Run to power any advanced tooling.

1

u/WonderfulActuator312 9d ago

Have you checked out PBIP files? They also store the model in YML but are editable via no code options so you can diff check in Git but also do no code development.