Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have users table and cities table with relationship 1-many based on city ID (one city can have many users)
I wanted to have each city the number of assigned users. For that I have created a new column to the Cities table:
Users per city = COUNT('users'[Userid])
As a result, it shows for all cities the same number, which is the total number ALL users disregarding the relationship.
I'm probably missing something the way PBI behaves, and would appreciate any assistant.
10x
Solved! Go to Solution.
Lets cool dude , Try this one
Calculate ( COUNT('users'[Userid]))
Let me know if it is not helping u .
Lets cool dude , Try this one
Calculate ( COUNT('users'[Userid]))
Let me know if it is not helping u .
thanks !
u r most welcome 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |