Forum Discussion
Anonymous
4 years agoNot applicable
Conditional column for alphabet and number
How to create a conditional column in Power query, that show "Text" if the column has alphnumeric while "Number" if the the column has value only? Thank you
- 4 years ago
Then use the formula posted earlier
= try if Value.Is(Number.FromText([Data]), type number) then "Number" else "Text" otherwise "Text"
Vijay_A_Verma
4 years agoMost Valuable Professional
Then use the formula posted earlier
= try if Value.Is(Number.FromText([Data]), type number) then "Number" else "Text" otherwise "Text"
slschmidt
3 years agoFrequent Visitor
Can you create a calculated column instead of doing it in power query? My data source is in direct query mode and I can't create a custom column. I want to do this same exact thing though.