Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |