Hi! I have some data like the following:
% |
25 |
15 |
Some text |
Words typed |
75 |
I need to work with just the numbers in the column. How can I delete the text data without removing the whole row? A new column like the following would be ideal, but it returns "" in every row (I suspect it is testing if the whole column is numbers).
Just% = IF(ISNUMBER([%]), [%], "")
if Value.Is([%], Int64.Type) then [%] else ""
Solved! Go to Solution.
You are better off doing the transformation in powerquery I think. It is 3 steps to get to what you are looking for.
I have attached my sample book for you to look at. Right click on the table and go to Edit Query to see the steps.
You are better off doing the transformation in powerquery I think. It is 3 steps to get to what you are looking for.
I have attached my sample book for you to look at. Right click on the table and go to Edit Query to see the steps.
Thanks - this worked perfectly!
@Alex_ , refer if this code in the blog can help
Hi @amitchandak
Thanks for your help! Unfortunately this doesn't work as there are some dates mentioned within the text. I need to show the value if there is only numbers, and nothing if there is a mix.
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
219 | |
58 | |
50 | |
47 | |
45 |
User | Count |
---|---|
271 | |
211 | |
113 | |
82 | |
71 |