Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a table where Region can be listed multiple times. I am looking to count Region only when Region has a status of Scheduled and a Status of Complete. If I do this it counts Region if it has either of those.
Count(distinct {<[Status]={'Scheduled','Complete'} >}[Region])
Essentially I want to do this, but i know the syntax isn't correct.
Count(distinct {<[Status]={'Scheduled'} and [Status]={'Complete'} >}[Region])
Thanks!
Melissa
try below
=Count(DISTINCT {<Region=p({<Status={'Scheduled'}>})*p({<Status={'Complete'}>})>}Region)
try below
=Count(DISTINCT {<Region=p({<Status={'Scheduled'}>})*p({<Status={'Complete'}>})>}Region)
Thank you, that works!