Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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:
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
33 | |
15 | |
14 | |
13 | |
9 |
User | Count |
---|---|
60 | |
23 | |
22 | |
19 | |
13 |