cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

[Calculated column based on number of characteres]

Hello everyone,

 

Suposing i have a colum "a" with data in format:

 

abc
5000700150007001
880019001880019001

 

I want to create column b e c, i have 400.000 rows that varies in size, 8 or 9 characters. Is there a way to count the size to use the count in a "if" statment like --> IF( "8 CHARACTERS" ; LEFT(A;5);LEFT(A;6)). the "001" is not a problem since it will always be RIGHT(A;3).

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: [Calculated column based on number of characteres]

2 REPLIES 2
Highlighted
Community Champion
Community Champion

Re: [Calculated column based on number of characteres]

Highlighted
Helper V
Helper V

Re: [Calculated column based on number of characteres]

@Vvelarde

 

Thks, that solves the problem.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors