Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 |
---|---|
50 | |
39 | |
18 | |
14 | |
13 |
User | Count |
---|---|
99 | |
71 | |
29 | |
18 | |
13 |