Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
ercc026
New Member

Function to extract only numbers in rows

Hello,

I have this function(picture 1) in Power Query Editor and what it does is extract numbers of 4 digits and display it in another column.

The data in the "Query" column is repeated in rows as many times as numbers 4 digits are extracted (that's my goal).

My problem is that having a lot of data never finishes applying the changes made in the Power Query.

¿¿ Is there any way to use this function using DAX ??

Thanks for any help you can give me.

Used formulaUsed formula

ResultResult

1 REPLY 1
some_bih
Super User
Super User

Hi @ercc026 see example and functions used on this link https://debug.to/911/extract-number-from-string-power-bi 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.