Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi there,
Can someone help with converting string to value.
string type is something like "AD1700000000000BC0081460"
I need it to convert it to number in order to get the count of each row.
Cheers,
Solved! Go to Solution.
try to add a custom column in PQ
=Text.Select([Column1],{"0".."9"})
Proud to be a Super User!
so your purpose is to count rows? why not just use COUNTROWS function?
Proud to be a Super User!
Thanks for your response @ryan_mayu
I need it as a calculated column & then use it in a measure to show the total in bar cluster chart.
try to add a custom column in PQ
=Text.Select([Column1],{"0".."9"})
Proud to be a Super User!
Thanks It works well !!
you are welcome
Proud to be a Super User!
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 |
|---|---|
| 103 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |