Forum Discussion
Samuel7265
3 years agoFrequent Visitor
Index Column Groupby() and currentgroup()
Hi all, i have a table with the columns ID and Category. The goal is to create a new table that lists the IDs, and an index of the number of categorys an ID had in its lifetime. Example: Dat...
- 3 years ago
Hi Samuel7265 I am not familiar with your model, if it is simply like your example with 2 columns, possible solution could be measeure
Index Test = COUNTROWS('Sheet1 (2)')Replace Sheet1 (2) with your table name. Hope this help
Samuel7265
3 years agoFrequent Visitor
Thanks for your answer. DISTINCTCOUNT cant be used in the context of GROUPBY().
some_bih
Community Champion
3 years agoHi Samuel7265 I am not familiar with your model, if it is simply like your example with 2 columns, possible solution could be measeure
Index Test = COUNTROWS('Sheet1 (2)')
Replace Sheet1 (2) with your table name. Hope this help
- some_bih3 years ago
Community Champion
Hi Samuel7265 If this is solution, please accept it so other member of community could use it. Thank you