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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |