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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
tzimmerman
Regular Visitor

Help creating measure between two tables

I have 2 tables and I am looking to calculate the total calls and total time available, but my current formulas are not giving the correct totals

 

I have Daily Agent Activity and Reservation Statisitcs - related through a date table - many to one

I have Daily Agent Activity and Reservation Statisitcs - related on the Agent ID column (inactive - I get an error message that a relationship with date table is active).

 

I am looking to include the total talk time from the daily agent activity on the Reservation statistics matrix visual in addition to calculate the revenue per hour based on the talk time from Daily Agent Activity and Revenue Booked from the Reservation Statistics table

 relationships.png

3 REPLIES 3
AnkitKukreja
Super User
Super User

Hi @tzimmerman 

 

You need to add a bridge table between Reservation Statistics and Daily Agent activity to create 1 to many relationship and then your model will be working like a star schema.

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

AS I am pretty new to power BI, how does one createa bridge table? 

Hi @tzimmerman 

 

Please have a look at this doc.

 

https://learn.microsoft.com/en-us/power-bi/guidance/relationships-many-to-many#relate-many-to-many-d...

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
https://topmate.io/ankit_kukreja

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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