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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Export Data Table

Hi all,

 

Happy New Year to everyone

 

I'm having an issue exporting a table from my report. I'm trying to export the data as it is shown below:

 

JacobSzp_0-1672916046965.png

 

However, it is changing the format of the data in the 'Itemcode' colomn to the below and no change in excel seems to revert the data to how it was above:

 

JacobSzp_1-1672916159256.png

 

Many thanks,

1 ACCEPTED SOLUTION
DataInsights
Super User
Super User

@Anonymous,

 

Try creating a measure that adds a leading single-quote. This causes Excel to treat the value as text instead of converting it to a number.

 

ItemCode Export = CONCATENATE ( "'", MAX ( Table1[ItemCode] ) )

 

Add this measure to your visual and export to Excel:

 

DataInsights_0-1672928891746.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
DataInsights
Super User
Super User

@Anonymous,

 

Try creating a measure that adds a leading single-quote. This causes Excel to treat the value as text instead of converting it to a number.

 

ItemCode Export = CONCATENATE ( "'", MAX ( Table1[ItemCode] ) )

 

Add this measure to your visual and export to Excel:

 

DataInsights_0-1672928891746.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
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.