Forum Discussion

Farhan_Raza's avatar
Farhan_Raza
Frequent Visitor
4 years ago
Solved

Count Rows Within Table Chart

Hello everyone,   Is there a way to count rows within the table chart ? I have a date column coming from calender table and another column (margin) from a Table (Table B) and the rest are from anot...
  • tamerj1's avatar
    4 years ago

    Hi Farhan_Raza 
    Please try

    Count =
    COUNTROWS (
        FILTER (
            SUMMARIZE (
                TableB,
                Calender[Date],
                TableA[PO#],
                "@Margin", SUM ( TableB[Margin] )
            ),
            [@Margin] >= 1000
        )
    )