Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hola a todos
me pueden ayudar a invertir un numero con dax?
Ejemplo:
15254956 ----> 65945251
Desde ya muchas gracias por la ayuda!!!
Solved! Go to Solution.
Column2 =
var a = Format([Column1],"#")
var b = SELECTCOLUMNS(GENERATESERIES(1,len(a)),"Index",[Value])
var c = GENERATE(b,{mid(a,[Index],1)})
return CONCATENATEX(c,[Value],"",[Index],DESC)
NOTE: This will fail (sort of) if the last digit of the number is 0.
Column2 =
var a = Format([Column1],"#")
var b = SELECTCOLUMNS(GENERATESERIES(1,len(a)),"Index",[Value])
var c = GENERATE(b,{mid(a,[Index],1)})
return CONCATENATEX(c,[Value],"",[Index],DESC)
NOTE: This will fail (sort of) if the last digit of the number is 0.
for the record here is a more concise version
= CONCATENATEX(ADDCOLUMNS(GENERATESERIES(1, LEN([Number])), "Rev", MID([Number],[Value],1)), [Rev], "",[Value],DESC)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 8 | |
| 8 |