Forum Discussion
314mp_M0th4
Resolver I
3 years agoUsing values in a string column as integers in dax
Hello, I have an ID column with IDs as strings. They are strings so I can use string functions in DAX but now I need to use them as integers in one instance. Is there a way to use the values as integers or do I need to make another column where the Ids are integers?
1 Reply
- PhilipTreacy
Super User
Hi 314mp_M0th4
You can use the VALUE function to convert them to numbers
VALUE function (DAX) - DAX | Microsoft Learn
But without seeing your data and knowing what it is you are trying to do it's hard to offer any more advice.
Regards
Phil