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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register 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.

 

 

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

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...

 

 

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

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Top Solution Authors