Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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:
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
23 | |
21 | |
20 | |
13 | |
12 |
User | Count |
---|---|
41 | |
31 | |
23 | |
23 | |
22 |