Forum Discussion
Index Column Groupby() and currentgroup()
- 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
Hi Samuel7265 It seems you need to use DISTINCTCOUNT function over your column Category?
Check link below.
Did I answer your question? Mark my post as a solution! Kudos Appreciated!
https://learn.microsoft.com/en-us/dax/distinctcount-function-dax?WT.mc_id=DP-MVP-4025372
Thanks for your answer. DISTINCTCOUNT cant be used in the context of GROUPBY().
- some_bih3 years ago
Community Champion
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
- 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