cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jj304 Frequent Visitor
Frequent Visitor

groups

Hi,

 

I am trying to do a count of users in various stages of a project process, different processes make up different stages.  The logic for the stages are

Introduction = Introduction

Review = Introduction, Test and Review

 

Anyone in the introduction stage will be counted in introduction and also counted in the Review stage along with Test and Review.

 

I've also included a basic sample of data:

process.GIF

Does anyone know how I can do this?  I was trying to use groups but I can't see how I can include an Introduction group inside of the Review Group.

 

Thanks,

Jennifer

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Re: groups

Hi @jj304

 

 

Try with this MEASURE

 

Measure =
IF (
    SELECTEDVALUE ( TableName[Project Process] ) = "Review",
    CALCULATE (
        DISTINCTCOUNT ( TableName[User] ),
        FILTER (
            ALL ( TableName ),
            TableName[Project Process] IN { "Inroduction", "Review", "test" }
        )
    ),
    DISTINCTCOUNT ( TableName[User] )
)
Try my new Power BI game Cross the River

View solution in original post

1 REPLY 1
Super User III
Super User III

Re: groups

Hi @jj304

 

 

Try with this MEASURE

 

Measure =
IF (
    SELECTEDVALUE ( TableName[Project Process] ) = "Review",
    CALCULATE (
        DISTINCTCOUNT ( TableName[User] ),
        FILTER (
            ALL ( TableName ),
            TableName[Project Process] IN { "Inroduction", "Review", "test" }
        )
    ),
    DISTINCTCOUNT ( TableName[User] )
)
Try my new Power BI game Cross the River

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors