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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Description Column with Text and Numbers

I have a "description" column in PowerBI that I use within a PowerBI table.   When I attempt to refresh the report, I continue to get an error about this particular table.   After further checking, I see the error ties back to a column within this table; it has multiple data types in the Description column.   The first character of the Description may start with a # or may start with text; afterall it is a free-form fillin description field.  Since I am not using this column in a calculation, and I only want to display this information, how can I get around this issue?

2 ACCEPTED SOLUTIONS

@Anonymous I think by default power query is changing the data type of this column to number, on change type step, change the data type to text and it will work.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

Anonymous
Not applicable

That worked.   Thank you!

View solution in original post

6 REPLIES 6
smpa01
Super User
Super User

@AnonymousCan you try to create a Custom Column as following and then delete the original column and use the custom column for your report.

 

try Text.From([MixDataColumn]) otherwise "-999"

 try is M's IFERROR equivalent.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

I've tried every combination and still I am unsuccessful at using this statement.   I am using the column name that contains the mixed data type.   

Text.From([WARRANTY_CODE]) otherwise "-999"

 It returns, "To use special characters in a column name, enclose the entire name in brackets.

 

Warranty Code is the column containing both text and #'s.

 

Any add'l help is greatly appreciated.    Thanks.

@Anonymouscan you please post the sample data here.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

https://www.dropbox.com/s/sozwslmq8q4ksbv/RecurringCodes.xlsx?dl=0

Here is the file.   The first column is the one that contains text and #'s.    

 

Thanks.

@Anonymous I think by default power query is changing the data type of this column to number, on change type step, change the data type to text and it will work.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

That worked.   Thank you!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors