This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi Community..!!
| date | name |
| 16-May | ABC |
| 16-May | XYZ |
| 16-May | WOP |
| 17-May | ABC |
| 17-May | ABC |
| 18-May | ABC |
| 17-May | XYZ |
| 17-May | XYZ |
| 17-May | XYZ |
| 17-May | ABC |
expected output is :
| name | count |
| ABC | 3 |
| XYZ | 2 |
| WOP | 1 |
please refer the above images ,
name should be counted with respect to date.
ABC coming thrice in date 17-May then also it is counted as one.
will u please help me to do that?
waiting for quick response.
Solved! Go to Solution.
HI
Distinctcount(table[name])
Hi @Anonymous
It is not matching with expected output.
U can refer the expected output what I have mentioned.
Ppatil
Excuse me; Please find the code for the measure
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 45 | |
| 38 | |
| 24 | |
| 22 | |
| 20 |