Hello,
I’m wondering, is there a function in AppSheet similar to COUNTUNIQUE from Google Sheets? Or perhaps just UNIQUE?
I’m still new to expressions, but here’s what I’m trying to write: IF(COUNTUNIQUE(SELECT(Employees[Garment Type], [Company]=[_THISROW].[Company]))>2, “result if true”, “result if not true”)
Thanks
Yes, the optional third input to SELECT() tells it whether or not to eliminate duplicates.
Perfect, thanks!
Hi @Jenn_M I request you to evaluate following
IF(COUNT(SELECT(Employees[Garment Type], [Company]=[_THISROW].[Company], TRUE))>2, “result if true”, “result if not true”)
Please note that in the above expression, the select statement itself selects unique (duplicates free) values in the list. Count merely counts those unique values in the list. I believe the end result is same.
User | Count |
---|---|
38 | |
35 | |
27 | |
23 | |
18 |