Compare Text in a Count Expression

Hi,

I am doing this count:

COUNT(SELECT(Races[Sel_1],[Sel_1]=[win])) this give one result

If i do: COUNT(SELECT(Races[Sel_1],[win]=[Sel_1])) and this gives another result

None of the results are correct.

[win] and [Sel_1] are text columns that are referenced to another a table. The text colum is 2 character only for Horse Number. ie: 1,1A, 2,3,4 etc.

I dont know what is happening because in Google Sheets the same comparison is working.


COUNT(
โ€ฆThe list of values of column โ€˜Sel_1โ€™
โ€ฆfrom rows of table โ€˜Racesโ€™
โ€ฆwhere this condition is true: ((The value of column โ€˜Sel_1โ€™) is equal to (The value of column โ€˜winโ€™)))

0 6 162
6 REPLIES 6
Top Labels in this Space