The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi
i want to count the total finished however there areID's that are duplicate. how do i count filter and only dount unique values of another?
i have a measure with the following formula:
= countx(filter(Table,Table[Status]="Finished"),Table[Status])
example:
ID | Status |
A12 | FINISHED |
C67 | FINISHED |
D54 | STARTED |
C12 | FINISHED |
A12 | FINISHED |
Solved! Go to Solution.
Thanks, worked.
what if i wanted to add 2 filters
i tried the below but didnt count, just showed blank
CALCULATE ( DISTINCTCOUNT ( Table[ID] ), Table[Status] = "Finished" && Table[Status] = "Started" )
Thanks, worked.
what if i wanted to add 2 filters
i tried the below but didnt count, just showed blank
CALCULATE ( DISTINCTCOUNT ( Table[ID] ), Table[Status] = "Finished" && Table[Status] = "Started" )
try replacing && with ||
hi @AI14
try to create a measure like this:
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |