We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Supplied = COUNTX(FILTER('List','List'[Completeness]="Supplied"),'List'[Completeness])
| EID | Completeness |
| 1 | Supplied |
| 2 | Not Supplied |
| 1 | Supplied |
I have the code above but I want to count them by grouping the rows who has same EID.
Result would be: EID 1 = 2 counts of supplied
EID 2 = 1 count of Not supplied
Solved! Go to Solution.
Hi @Kalachuchi ,
Would you please try to use the following summary table:
Table 2 = SUMMARIZE('Table','Table'[EID],'Table'[Completeness],"_count",COUNT('Table'[Completeness]))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
@Kalachuchi , what is the problem tehse two measures should work
Supplied = COUNTX(FILTER('List','List'[Completeness]="Supplied"),'List'[Completeness])
Not Supplied = COUNTX(FILTER('List','List'[Completeness]="Not Supplied"),'List'[Completeness])
@amitchandak I think its counting duplicates, I want to group it first before counting with filter.
Hi @Kalachuchi ,
Would you please try to use the following summary table:
Table 2 = SUMMARIZE('Table','Table'[EID],'Table'[Completeness],"_count",COUNT('Table'[Completeness]))
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |