Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I am trying to create a measure that count all active contacts with a related active account where account country equals sweden
Solved! Go to Solution.
Hi @Anonymous ,
You will probably end up with something like this.
Calculate (countrows(Table), Column = 1 , Column = "Sweden")
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Hi @Anonymous ,
Would you share a picture of your model, or a mockup? Are the tables related?
Nathaniel
Proud to be a Super User!
Hi @Anonymous ,
You will probably end up with something like this.
Calculate (countrows(Table), Column = 1 , Column = "Sweden")
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Proud to be a Super User!
Thanks for your answer!
I think this will work. One issue was I had to use ; instad of ,
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 |
---|---|
10 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |