Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ThomasWeppler
Impactful Individual
Impactful Individual

Best way to write documentation for your code?

Hi Power BI community

How do you write documentation for your code? Can you use co-pilot or another AI? Or do you have another smart way to write documentation?

All ideas and help is greatly appreciated. 🙂

4 REPLIES 4
anmolmalviya05
Super User
Super User

Hi @ThomasWeppler, You can use DAX Query View and TMDL View along with AI tools/ GPT to create documentations.

DAX query view can be used to write dax query for all existing measures in your report which you can copy and paste to gpt to convert it into documentation.

Same goes for TMDL View, you can generate TMDL script for your  semantic model and use it to convert into documentation with AI.


If this post helps to answer your question, please consider accepting it as a solution so others can find it more quickly when they face a similar challenge.


Proud to be a Microsoft Fabric community super user


Let's Connect on LinkedIn


Subscribe to my YouTube channel for Microsoft Fabric and Power BI updates.

ThomasWeppler
Impactful Individual
Impactful Individual

Does anyone else use some specific tools to write documentation for end users?
Is their any videos or guides that can help me learn about this?

Should I upload my PowerBi report to chatgpt to use?

Or how does it work very specifically?

Anonymous
Not applicable

Thanks for the reply from Akash_Varuna.

 

Hi @ThomasWeppler ,

 

At present, ChatGPT does not facilitate the direct uploading of Power BI reports for analysis. Nevertheless, ChatGPT can be accessed via API to generate dynamic text or respond to queries.

 

Related link: 

ChatGPT — How to Use it With Microsoft Power BI | by Amer Mahmood | Medium

 

Best Regards,
Zhu

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

Akash_Varuna
Super User
Super User

Hi @ThomasWeppler  You could use co pilot to write documentation and GPT also there are endles amount of tools i think as the AI llm models are very large amount Claude and many more

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors