Forum Discussion
jochendecraene
Helper V
5 years agoCount cell that contain integers
Hi I've got a colum that contains text and integers. I'd like to know home many unique codes (integers) there are in my dataset. Can someone help me out? So I only want to count the cells with t...
- 5 years ago
Measure 3 = VAR __Table = ADDCOLUMNS('Table4',"__IsNotInt",ISERROR(INT([Column1]))) RETURN COUNTROWS(DISTINCT(SELECTCOLUMNS(FILTER(__Table,[__IsNotInt]=FALSE()),"Int",[Column1])))
Greg_Deckler
Community Champion
5 years agoMeasure 3 =
VAR __Table = ADDCOLUMNS('Table4',"__IsNotInt",ISERROR(INT([Column1])))
RETURN
COUNTROWS(DISTINCT(SELECTCOLUMNS(FILTER(__Table,[__IsNotInt]=FALSE()),"Int",[Column1])))jochendecraene
Helper V
5 years ago