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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
pipechaves
Frequent Visitor

Need Help - Relationships and Results

Hi members, I need some advice. As today I got a really strange issues from a fellow.

He got 3 tables.

One contains the Project Name, Total Hours and other fields. I will just mention the important ones.

Another one is the Rate and PMO Location

and the last one will be the Project: Which contains PMO Location, Project Name and others.

 

What he is trying and I couldnt succed was to create a new column ON PROJECT that its formula will be   Rate*Hours

Rate is on the Rate table and Hours in the Time table.

I wasnt able to do so.

Any help will be appreciated.

 

Table data below

 

Tabe: Time

Hours# of PMOResourcesPeriodProject
3005September 2017Apollo
421October 2017Apollo
31November 2017Apollo
281December 2017Apollo
331January 2018Apollo
913February 2018Apollo
683March 2018Apollo
642April 2018Apollo
221May 2018Apollo
723January 2018Aries
542February 2018Aries
632March 2018Aries
612April 2018Aries
381May 2018Aries
532February 2018Gemini
291March 2018Gemini
151April 2018Gemini
1004May 2018Gemini
2003August 2017Leo
501September 2017Leo
832October 2017Leo
191November 2017Leo
572December 2017Leo
851August 2017Orion
751September 2017Orion
191April 2018Pegasus
603May 2018Pegasus
482May 2018Taurus
1002June 2017Titan

 

Tabe: Rate

PMO LocationRate
APAC80
EMEA90
LATAM100
NA110

 

Tabe: Project

 

Project NameProject ManagerProject Start DateProject Finish DatePMO Location
ApolloBob9/13/2017 APAC
AriesBob1/4/2018 EMEA
GeminiTim2/18/2018 EMEA
LeoSally8/28/201712/30/2017LATAM
OrionTina8/15/20179/30/2017LATAM
PegasusSally4/4/2018 NA
TaurusAngie5/1/2018 NA
TitanTina6/1/20176/30/2017APAC

 

It seems the relationships created where good and so on. Any help/explanation will be of great help.

 

Thank you all

1 REPLY 1
dedelman_clng
Community Champion
Community Champion

This should work for you:

 

Cost =
SUMX ( RELATEDTABLE ( 'Time' ), 'Time'[Hours] ) * RELATED ( Rate[Rate] )

 

Hope this helps

David

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.