Hi all,
I need to know if a data is repeated in my column
Datos=Table
NVela=Column -Type Text
COUNT(Datos[NVela]=[_THISROW].[NVela])>1
and I get this message
Cannot compare List with Text in (Datos[NVela] = [_THISROW].[NVela])
Something is wrong.
Usualy I use contar.si(range,criteria)
Thanks for help
Regards
Hello @Luiso_Ferrandiz_Ruiz, welcome to the community !
You could try this expression instead:
COUNT(FILTER("Datos",[NVela] = [_THISROW].[NVela]))
For reference:
COUNT(SELECT(Datos[NVela],[NVela]=[_THISROW].[NVela]))>1
I get like this, but I will try with your idea. Thanks
Oh yes, i forgot about the comparison, my bad, it should be:
IF(COUNT(FILTER("Datos",[NVela] = [_THISROW].[NVela]))>1,"Something if its true","Something if its not")
Or just
COUNT(FILTER("Datos",[NVela] = [_THISROW].[NVela]))>1
I think they are equivalent, did it do what you intended to do?
User | Count |
---|---|
43 | |
29 | |
23 | |
21 | |
13 |