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
So I have a column EID and status,
I only want to filter the completed and summarize it based on EID and after will count the rows.
I got lost here don't know where would I put the summarize function
EID | Status |
1 | Pending |
2 | Completed |
2 | Completed |
3 | Completed |
Output: Completed = 2
Solved! Go to Solution.
Hello @Kalachuchi
You can use this measure to get different EID values:
Cnt of Completed = CALCULATE(DISTINCTCOUNT('Table'[EID]),FILTER('Table','Table'[Status] = "Completed"))
_______________
If I helped, please accept the solution and give congratulations! 😀
Hi , @Kalachuchi
@amitchandak ‘s formula needs to be slightly adjusted.
Measure = COUNTX(summarize(FILTER('Table1','Table1'[Status]="Completed"),'Table1'[EID]),[EID])
If your problem has been solved,please mark the helpful replies or add your reply as Answered to close this thread.
It will help other community members easily find the solution when they get the similar issue.
Best Regards,
Community Support Team _ Eason
@Kalachuchi , Try like
COUNTX(summarize(FILTER('Table1','Table1'[Status]="Completed"),'Table1'[Status]),[Status])
Hey @Kalachuchi ,
wondering if this more simpler measure is sufficient:
Measure =
CALCULATE(
DISTINCTCOUNT('Table'[EID])
, 'Table'[Status] = "Completed"
)
Hopefully, this provides what you are looking for.
Regards,
Tom
@Kalachuchi - Try -
Measure = COUNTROWS(DISTINCT(FILTER('Table1','Table1'[Status]="Completed")))
or
Measure = COUNTROWS(SUMMARIZE(FILTER('Table1','Table1'[Status]="Completed"),[EID]))
This will help,
Hello @Kalachuchi
You can use this measure to get different EID values:
Cnt of Completed = CALCULATE(DISTINCTCOUNT('Table'[EID]),FILTER('Table','Table'[Status] = "Completed"))
_______________
If I helped, please accept the solution and give congratulations! 😀
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 |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |