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.
I have a derived column that contains units. My goal is to Extract only the numbers from the column making sure the new column is an integer column.
Solved! Go to Solution.
Hi,
Generally I would recommend doign these kind of changes in Powerquery, but if you want to do this in the first idea that comes to my mind is using something like this (this works since your data seems quite uniform)
If this is not sufficient I would recommend using GENERATESERIES like in this post: https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-extract-numbers-from-text-to-a-new-number...
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
Hi,
Generally I would recommend doign these kind of changes in Powerquery, but if you want to do this in the first idea that comes to my mind is using something like this (this works since your data seems quite uniform)
If this is not sufficient I would recommend using GENERATESERIES like in this post: https://community.powerbi.com/t5/DAX-Commands-and-Tips/DAX-extract-numbers-from-text-to-a-new-number...
I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!
My LinkedIn: https://www.linkedin.com/in/n%C3%A4ttiahov-00001/
Proud to be a Super User!
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |