Forum Discussion
Anonymous
10 years agoNot applicable
DAX function for converting a number into a string?
I have a string (url) and a number (pagination), I need to concatenate them into a resulting URL. I have search and looked at the VALUE and FORMAT dax functions but can't make it work in convert...
- Anonymous10 years ago
Thanks, ended up using Text.From( [Counter] )
Anonymous
10 years agoNot applicable
Anonymous
try using
"http://www.xyz.com?page=" & Format([page] ,"####")
If this works please accept as a solution and also give Kudos. If it does not work let me know what happened.
Cheers
- Anonymous10 years agoNot applicable
Thanks, ended up using Text.From( [Counter] )
- Kmow8 years agoAdvocate I
Format() is the correct answer. What you've used is not DAX
- Anonymous7 years agoNot applicable
HOw to you use this FORMAT() function in example?
lets say if you have two columns where you are appling into a meaure
ie
newmeasure = viewname[columnnameingar] and viewname[newcolumnstring] , "a stringvalue"
- fraktol5 years agoRegular Visitor
This should be the solution, because the request was to use DAX, not Power Query M.