Forum Discussion
Description Column with Text and Numbers
- 7 years ago
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.
- Anonymous7 years ago
That worked. Thank you!
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.
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.
- smpa017 years agoCommunity Champion
Anonymouscan you please post the sample data here.
- Anonymous7 years agoNot 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.
- parry2k7 years agoSuper User
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.