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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.