Forum Discussion
sheap069
5 years agoHelper III
Get Values and Counts in Table
Hello, I have a data set with Applications and Groups, and the data is related by the Group ID with the respective Application IDs. Application IDs have cities. Application City 1 Delhi...
- Anonymous5 years ago
Hi sheap069
You want a Table visual to display it? So it is a measure
Result = VAR T1 = GROUPBY(CityTable,CityTable[City],"COUNT",COUNTX(CURRENTGROUP(),[City])) VAR T2 = ADDCOLUMNS(T1,"TEST",[City]&" ("&[COUNT]&")") RETURN CONCATENATEX(T2,[TEST],", ")
Anonymous
5 years agoNot applicable
Hi sheap069
You want a Table visual to display it? So it is a measure
Result =
VAR T1 = GROUPBY(CityTable,CityTable[City],"COUNT",COUNTX(CURRENTGROUP(),[City]))
VAR T2 = ADDCOLUMNS(T1,"TEST",[City]&" ("&[COUNT]&")")
RETURN
CONCATENATEX(T2,[TEST],", ")
sheap069
5 years agoHelper III
Perfect, thank you!!