Is UNIQUE() case sensitive

Is UNIQUE() case sensitive? I can see duplicate values which have different uppercase and lowercase letters of the same word.

Solved Solved
0 3 108
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @sarvagnag 

If your UNIQUE() expression applies to a list from a column and you would like to avoid these duplicate values, you may want to:

1) add a new virtual column "lower_case" with expression

LOWER([yourColumn])

2)try 

UNIQUE(yourTable[lower_case])

 

View solution in original post

3 REPLIES 3

Sounds like it is.

Aurelien
Google Developer Expert
Google Developer Expert

Hi @sarvagnag 

If your UNIQUE() expression applies to a list from a column and you would like to avoid these duplicate values, you may want to:

1) add a new virtual column "lower_case" with expression

LOWER([yourColumn])

2)try 

UNIQUE(yourTable[lower_case])

 

Thank you both!

Top Labels in this Space