Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

get row count

I have table visual with filter as shown in the screenshot. How can i get the total number of rows for the table visual.
  • Anonymous's avatar
    Anonymous
    8 years ago

    hi Archie1 i found a solution... i created 4 dax table as follow:

    Table 1 = SUMMARIZE('relevantUPI Sign In','relevantUPI Sign In'[UPI..i.e..abcd123.],'relevantUPI Sign In'[Month],'relevantUPI Sign In'[What.are.you.coming.to.do.in.the.space.today.],"Count",COUNTROWS('relevantUPI Sign In'))

    Table 2 = FILTER('Table 1',Not('Table 1'[What.are.you.coming.to.do.in.the.space.today.]="Workshop or Training"))

    Table 3 = SUMMARIZE('Table 2','Table 2'[UPI..i.e..abcd123.],'Table 2'[Month],"count",SUM('Table 2'[Count]))

    Table 4 = FILTER('Table 3','Table 3'[count]>1)

    in table 4 i create a measure: Measure = COUNTROWS('Table 4')

     

    this gives me the result i needed....

     

    cheers,