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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Max_25
Regular Visitor

Delete all data for measure cleanup

Hi everyone,

 

Situation:

I am new to PowerBI and got a really huge dashboard file from a colleague who left.

The file has a lot of measures from which I suspect most are not in use anymore and I want to clean it up.

In the forum I already found topics about tools like "Power BI Helper", "DAX Studio", etc., but these are external tools and I cannot install them on my work PC.

 

What I want:

Therefore I want to delete all the data within the dashboard file (data safety reasons) and transfer it to another PC where I use one of the tools to get rid of unused measures.

 

How can I delete all the data, but keep the structure of the report to clean it up?
And does my approach makes sense at all? 😄

 

Kind regards,

Max

1 ACCEPTED SOLUTION
rohit1991
Super User
Super User

Hi @Max_25 

 

The right way to do this is to export your report as a Power BI Template (.pbit).

  • In Power BI Desktop, go to File > Export > Power BI template.

  • A .pbit file keeps all the report structure (pages, visuals, relationships, measures, model) but removes all the loaded data.

  • When you open the .pbit on another PC, it will prompt for data connections, and you can then run tools like Power BI Helper or DAX Studio there to clean up unused measures.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

View solution in original post

5 REPLIES 5
Max_25
Regular Visitor

Thank you everyone for your suggestions. I decided to go with the Template file (.pbit) and it works perfectly 🙂

V-yubandi-msft
Community Support
Community Support

Hi @Max_25 ,

@rohit1991 & @Royel have shared the correct solutions. Please follow their suggested steps, and let us know if you need any additional assistance we’re here to help.

 

Thank you for your response, @Royel & @rohit1991 

 

Regards,
Yugandhar

Royel
Solution Sage
Solution Sage

Hi @Max_25 since you are new in Power BI, you can follow this easy steps 

1. Go to Transform Data -> Power Query 

2. Select your table and Under Home-> Keep Rows -> Keep top Rows

Royel_0-1757145604927.png

3. Keep only 1 rows 

Royel_1-1757145708834.png

 

Therefor nothing will break (visual and measure will work perfectly file)

 

 

rohit1991
Super User
Super User

Hi @Max_25 

 

The right way to do this is to export your report as a Power BI Template (.pbit).

  • In Power BI Desktop, go to File > Export > Power BI template.

  • A .pbit file keeps all the report structure (pages, visuals, relationships, measures, model) but removes all the loaded data.

  • When you open the .pbit on another PC, it will prompt for data connections, and you can then run tools like Power BI Helper or DAX Studio there to clean up unused measures.


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
Shahid12523
Community Champion
Community Champion

Use Power Query Editor to remove all rows from every table—this keeps columns, measures, and report structure intact but deletes the data. Then save the file and transfer it to another PC to clean up unused measures safely.

Shahed Shaikh

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.