Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hello everyone,
can you please support me with the following dilemma?
I would like to have in a column the count of activities created by each user (not performed by each user, the difference is that supervisors monitors the activities but do not perform them). So what I did so far, is create a new table, get all distinct users of that specific app proceed to compute the amount of activities for each one of them. However, Im having difficulties in finding the right formula.
As visible from Screnshot below the formula returns an error. As you can see from the formula I would like to count the activity performed for each email that should be eatual to the app user in another dataset.
Any leads?
Solved! Go to Solution.
You should always provide some data when you ask people to write DAX against it.
COUNTROWS takes a table as an argument, thats' what the error is telling you.
Try this but I'm not sure it's what you are after, I'll need to see your data and you should provide an example of the result you expect
= CALCULATE(COUNTROWS('Coaching Tracker'), FILTER('Coaching Tracker', RELATED('Count of Activities'[Email]) = 'Coaching Tracker'[App User]))
Regards
Phil
Proud to be a Super User!
You should always provide some data when you ask people to write DAX against it.
COUNTROWS takes a table as an argument, thats' what the error is telling you.
Try this but I'm not sure it's what you are after, I'll need to see your data and you should provide an example of the result you expect
= CALCULATE(COUNTROWS('Coaching Tracker'), FILTER('Coaching Tracker', RELATED('Count of Activities'[Email]) = 'Coaching Tracker'[App User]))
Regards
Phil
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
78 | |
76 | |
53 | |
37 | |
31 |
User | Count |
---|---|
101 | |
56 | |
51 | |
45 | |
40 |