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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
AZ17
Regular Visitor

Need help, one customer variety of names

Hi All,

 

Thank you for looking at my case.

Here is the problem:

I have a this column in my powerbi (the names of the customers are not real, they are examples):

AZ17_0-1683554617979.png

 

And this is what I would like to achieve: 

AZ17_1-1683554747137.png

In my actual file there is about 200 customers with variety of names and they change depending on the month and settings of the file. 

 

Any clue how to do this? (I would like to avoid using R as I have no knowledge of it)

 

Thank you for your help and thoughts!

Kr, 

A

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@AZ17 Well, from the examples given, do a split based upon spaces and remove the extraneous columns. Or you can use the Text parsing functions to do the same. Text.PositionOfAny and Text.Start.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@AZ17 Well, from the examples given, do a split based upon spaces and remove the extraneous columns. Or you can use the Text parsing functions to do the same. Text.PositionOfAny and Text.Start.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi Greg, thank you for providing a solution, I have made some changes and it seems to fit the purpose!

 

Thank you for your assistance, have a great day.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

Top Solution Authors
Top Kudoed Authors