Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi again,
I have a pretty simple measure that counts the number of software assignements on an asset (
| Hostname | SW Package | User |
| 123456 | Package 1 | Jane Doe |
| 123456 | Package 1 | John Doe |
| 123456 | Package 2 | Jane Doe |
| 123456 | Package 2 | John Doe |
| User | SW Package Count |
| Jane Doe | 4 |
| John Doe | 4 |
How do I adjust the measure to count the occurences per asset and per user?
Something with Calculate, Counta and Filter? Not sure how to even approach this 🙂
Solved! Go to Solution.
maybe you can try this
Measure 2 = CALCULATE(COUNTROWS('Table (2)'),FILTER(all('Table (2)'),'Table (2)'[Hostname]=MAX('Table (2)'[Hostname])))
Proud to be a Super User!
like what @Hariharan_R said, COUNTA should return 2 for each user and 4 for total. please provide the expected output
Proud to be a Super User!
Hi
By defult it shows 2 only as a result. Please share the expected result for more clarity.
Thanks
Hari
Hi @Hariharan_R , @ryan_mayu
Hi @ryan_mayu ,
this still returns 4 per user when I would expect a total of 2 for each and an overall total of 4.
like what @Hariharan_R said, COUNTA should return 2 for each user and 4 for total. please provide the expected output
Proud to be a Super User!
maybe you can try this
Measure 2 = CALCULATE(COUNTROWS('Table (2)'),FILTER(all('Table (2)'),'Table (2)'[Hostname]=MAX('Table (2)'[Hostname])))
Proud to be a Super User!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.