Forum Discussion

sovereignauto's avatar
sovereignauto
Icon for Helper III rankHelper III
4 years ago
Solved

Count from summarizecolumns

Good Afternoon,   If i create a variable using summarizecolumns like so:    How would i then use this to count the "count" column   var _data = SUMMARIZECOLUMNS( Claims_History[Date].[Date], ...
  • Greg_Deckler's avatar
    4 years ago

    sovereignauto With the table summarized, counting the count column is the same as counting the rows in the table so you can use COUNTROWS. You could also use COUNTX or any of the other X aggregation functions if you wanted to be specific about the column or wanted an aggregation like sum, SUMX(_data,[count]).