Forum Discussion
tempranello
10 years agoAdvocate I
Test 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
10 years agoContinued Contributor
Are you trying to do this through DAX or Power Query?
DAX is used for Measures and Power Query is used for Calculated Columns.
tempranello
10 years agoAdvocate I
Apologies, I'm doing this in Power Query.
- wonga10 years agoContinued 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.