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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
JimB-GA
Helper III
Helper III

How to parse a field in DAX

Hello.  Still a newbie and trying to parse a field into new columns.

Following is the sample table:

 

DateDescription

08/01/18Bought 1.206 Spy @ 281.0819
05/01/18Bought 1.131 Spy @ 262.8647
02/06/18Bought 40 Spy @ 264.8895
02/02/18Bought 36 Spy @ 278
02/01/18Bought 0.576 Spy @ 282.3045
12/18/17Bought 74 Spy @ 268.4641
11/15/17Bought 40 Rpg @ 102.96
11/01/17Bought 48 Rpg @ 103
11/01/17Bought 0.383 Spy @ 257.568
10/03/17Bought 0.261 Vcr @ 143.92

 

I would light to parse the description field into the security purchased, quantity, and price.  I can do this in Excel, but DAX eludes me.  Can someone help?  Very much appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hey @JimB-GA

 

You can do this very easily using the Column from examples functionality in the Query Editor, no DAX required. Simply click Edit Queries, select your table, navigate to the Add Column tab, and on the top left you will see Column From Examples. Then start typing the value you would expect in that column for that row.

 

If you want a walkthrough on how to do it, check out this video:

 

https://www.youtube.com/watch?v=kJ37glO4wBY

 

Hope this helps,

Parker

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hey @JimB-GA

 

You can do this very easily using the Column from examples functionality in the Query Editor, no DAX required. Simply click Edit Queries, select your table, navigate to the Add Column tab, and on the top left you will see Column From Examples. Then start typing the value you would expect in that column for that row.

 

If you want a walkthrough on how to do it, check out this video:

 

https://www.youtube.com/watch?v=kJ37glO4wBY

 

Hope this helps,

Parker

 

 

Works perfectly. Thanks Parker!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors