Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How can I find connected values?

Hi,

 

I have a bit of a difficult question: In our company, we operate a booking business, where each customer is registered as a "user". These users all have a distinct user id. For bookings, we have a "booking id" each time a user books an hours. 

 

What I want to find out is how many bookings we have per user. Can someone help me figure out a "good" way to do this. Both the "Bookings ID" column and "User ID" column is in the same table. So I am trying to figure out how many bookings we have per user ID (so the average of this, which I can build later by using visualizations). 

 

Can someone assist me with writing a smart expression or method to "connect" bookings id and user id, in order to see how many bookings id there is per user id? 

 

Really hoping someone can help as I am not sure how I would do this in Power BI

 

Thanks

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

Check details as below:

Create a measure as below:

Measure = COUNT('Table'[Booking Id])

And you will see:

v-kelly-msft_0-1622186754238.png

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

Create a measure:

bookings = COUNT ( Table [booking ID])

and then create a visual using the field user id and the measure





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

Hi and thank you for the follow up and quick response. 

 

I am not quite sure still - what type of visualization and what do you mean by "field user id"?

 

Thank you again!

Hi @Anonymous,

 

Check details as below:

Create a measure as below:

Measure = COUNT('Table'[Booking Id])

And you will see:

v-kelly-msft_0-1622186754238.png

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.