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 All,
I have a table of codes with a count of users and a count of bookings. Something like this:
Code Users Bookings
123 25 12
456 50 20
789 100 30
I have another table that matches code to a city. There are 10's of different codes related to each city. I want to summerise users and bookings by city so have created a relationship between the 2 tables. When I look at users and bookings by city, get the same number (the total users and bookings for all cities) for each city. So if 123 and 456 are London and 789 is Cardiff, then the table would look something like:
City Users Bookings
London 175 62
Cardiff 175 62
Any help appreciated.
Thanks,
Solved! Go to Solution.
Hi ,
What relationship have you created ?
with relationship based on Code I see -
without relationship I see below -
Regards,
Nilesh
Hi @Anonymous,
Have you solved the problem?
If you have solved, could you share the solution or always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share more data sample and describe your scenario in more details.
Best Regards,
Cherry
Hi ,
What relationship have you created ?
with relationship based on Code I see -
without relationship I see below -
Regards,
Nilesh
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 |
---|---|
80 | |
79 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
59 | |
59 | |
49 | |
42 |