Forum Discussion
tempranello
Advocate I
10 years agoTest for a number
Hi there I must be losing it...this seems such a simple thing to do, but I'm blowed if I can sort this out myself. I've a column of type text in a query that may or may not contain text or a ...
- Anonymous8 years ago
Worked for me. Thank you!
if Value.Is(AlphaNumeric, type text) then AlphaNumeric else Number.ToText(AlphaNumeric))
wonga
Continued Contributor
10 years agoAre you trying to do this through DAX or Power Query?
DAX is used for Measures and Power Query is used for Calculated Columns.
- tempranello10 years ago
Advocate I
Apologies, I'm doing this in Power Query.
- wonga10 years ago
Continued Contributor
Can you provide some more context as to what you want to achieve? Provide a sample dataset and what you want the expected result to be.