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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Rahul66303
Frequent Visitor

How to join to Calculated table.

Hi,

 

Need help on below scenario :

 

I have two calculated tables :

 

CoverageTable
ServiceOfferingServiceLineCapabilityBusinessCapabilitiesCoverageValue
ServiceOffering1ServiceLine1Capability1Tag13
ServiceOffering1ServiceLine2Capability1Tag12
ServiceOffering1ServiceLine3Capability1Tag12
ServiceOffering1ServiceLine2Capability2Tag11
ServiceOffering1ServiceLine3Capability2Tag11
ServiceOffering1ServiceLine2Capability3Tag11
ServiceOffering1ServiceLine3Capability3Tag11
ServiceOffering2ServiceLine4Capability4Tag11

 

Another Calculated Table :

 

BaselineTable
ServiceOfferingServiceLineCapabilityBusinessCapabilitiesBaselineValue
ServiceOffering1ServiceLine1Capability1Tag15
ServiceOffering1ServiceLine2Capability1Tag13
ServiceOffering1ServiceLine2Capability1Tag23
ServiceOffering1ServiceLine2Capability1Tag38
ServiceOffering1ServiceLine2Capability1Tag42
ServiceOffering1ServiceLine3Capability1Tag13
ServiceOffering1ServiceLine3Capability1Tag23
ServiceOffering1ServiceLine3Capability1Tag38

 

What i need to join above two tables and result table as calculated table :

CoverageVsBaseLineTable
 ServiceOfferingServiceLineCapabilityBusinessCapabilitiesCoverageValueBaselineValue  
 ServiceOffering1ServiceLine1Capability1Tag135  
 ServiceOffering1ServiceLine2Capability1Tag123  
 ServiceOffering1ServiceLine3Capability1Tag123  
 ServiceOffering1ServiceLine2Capability2Tag118  

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Rahul66303,

 

Please mark the solution as accepted if it worked for you.

 

Thank you 🙂

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Rahul66303,

 

The first table is missing only the Baseline value. You could create a column and using Lookup get the Baseline value. Do you have a primary key for the 2 tables?

Hi @Anonymous

 

These two tables are calculated tables from different tables and calculations, i do n't have primary key on these calculated tables ?can i create primary key on calculated tables ?

Anonymous
Not applicable

Hi @Rahul66303,

 

You can create one. Create a column key in both the tables

 

Key = ServiceOffering & ServiceLine & Capability & BusinessCapabilities

 

Now create a column Baseline in the first table

 

Baseline = Lookup(Table2[Baseline], Table2[Key], Table1[Key])

 

Let me know if this does not work.

Anonymous
Not applicable

Hi @Rahul66303,

 

Please mark the solution as accepted if it worked for you.

 

Thank you 🙂

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

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