Forum Discussion

andy808's avatar
andy808
Resolver I
2 years ago

Help! Calculate Distinct Count of Projects that have Issues

I have total count of Projects and total count of Issues: (columns are in 2 separate tables with 1 to many relationship by ProjectID)

I have been asked to make a card that says "20 Issues involve XX Projects"

What I cannot figure out is how to calculate the distinct count of Projects that have Issues:

The correct result is 8 Projects have 20 Issues but I cannot get a count via DAX for the card. 

Any ideas would be super appreciated!

 

1 Reply

  • Try this:

     

    UNIQUEPROJECTS =

    distinctcount(
    TableName [ ProjectName]
    )

    That should populate the count of the names (or IDs) that are in that column.