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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

New Colum based on text of other

Hi!

 

I´m working on a report but i got an issue.

 

I want to make a new column with stantard data name.

 

I have a colum like this

Name
Headseat 660
Mouse 660
Head 660
Headset-660
Headphone 660
Mou 660

 

I want to make a filter that looks for certain caracteristics, example:

 

I want it to look that starts with an H, has an S and ends in 660. For the Mouse that starts with M and ends in 660.

 

NameStandard name
Headseat 660Headset 660
Mouse 660Mouse 660
Head 660Headset 660
Headset-660Headset 660
Headphone 660Headphone 660
Mou 660Mouse 660

 

I´ve tried conditional colums but it seems they are kind of limited.

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @Anonymous ,

You can check following link to know more about dax string comparison:

From SQL to DAX: String Comparison

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @Anonymous ,

You can check following link to know more about dax string comparison:

From SQL to DAX: String Comparison

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.