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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.