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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tjlundquist1
Helper I
Helper I

Calculated column formula to identify and label non specific values in a column based on order

I am looking for some assistance. I have a list of body shops and appraisers. I want to create a calculated column that identifies and labels them accordingly. Essentially if they are in the order of "Word, Word" I want it to label as an <Appraiser> - all else, <Not an appraiser>.

 

Any Ideas? 

 

Body Shop East, 1
Body Shop East, 2
Chris, Kyle
Body Shop East, 3
Body Shop East, 4
Bob, Jim
Body Shop East, 6
1 ACCEPTED SOLUTION
ChrisMendoza
Resident Rockstar
Resident Rockstar

@tjlundquist1 -

Maybe something like:

Column =
VAR _right =
    RIGHT (
        Table1[Column1],
        1
    )
RETURN
    IF (
        ISERROR (
            ISNUMBER (
                VALUE ( _right )
            )
        ),
        "Appraiser",
        "Not an Appraiser"
    )





Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



View solution in original post

3 REPLIES 3
ChrisMendoza
Resident Rockstar
Resident Rockstar

@tjlundquist1 -

Maybe something like:

Column =
VAR _right =
    RIGHT (
        Table1[Column1],
        1
    )
RETURN
    IF (
        ISERROR (
            ISNUMBER (
                VALUE ( _right )
            )
        ),
        "Appraiser",
        "Not an Appraiser"
    )





Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

Proud to be a Super User!



Works great. Thank you!

@ChR 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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