March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
15 | |
12 | |
9 | |
8 |
User | Count |
---|---|
41 | |
32 | |
29 | |
12 | |
12 |