Forum Discussion

LR_PublicHealth's avatar
LR_PublicHealth
Regular Visitor
2 years ago
Solved

Only counting an ID once for each date it appears.

  Hello, everyone!  Having used a different BI tool for many years, our team is making the move to Power BI. I'm steadily getting used with it, but I've hit a bit of a stumbling block. I'm sure i...
  • audreygerred's avatar
    2 years ago

    Hello! I entered the sample data as below:

    I created the following DAX: 

    Count = COUNTROWS(
        SUMMARIZE(
            FILTER('Table',
                'Table'[Outcome] = "New" || 'Table'[Outcome] = "Repeat"
            ),
            [ID], [Date]
        )
    )
     
    And, I get the following count of 6 🙂