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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

WBS and Weighting

Hi,

 

I have the typical WBS and weighting for different level in  two different table. I have link up Lvl 1 and Lvl 2.

Any solution to calculate the project weight at Level 2 using DAX formula? It will give me an error when mulitpy  Lvl1 weight and Lvl 2 weight in DAX.

 

 

 
Project IDLvl 1 IDLvl 1 WBS DESCLvl 1 Weight
1011.1Engineering0.2
1011.2Procurement0.3
1011.3Construction0.5

 

Lvl 1 IDLvl 2 IDLvl 2 WBS DESCLvl 2 WeightProject Weighting 
1.11.1.1MDR0.40.08 
1.11.1.2PDMS0.40.08 
1.11.1.3Procurement Engineering0.20.04 
1.21.2.1Equipment0.60.18 
1.21.2.2Bulk Material0.40.12 
1.31.3.1Topside Module0.350.175 
1.31.3.2Hull Conversion0.40.2 
1.31.3.3Integration0.250.125 


New in DAX and Power Pivot

JS

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

If I understand you correctly, the column "Project Weighting" you provided is what you want to calculate using DAX. 

If so, you can create a column like so:

Column = LV2[Lvl 2 Weight] * RELATED ( LV1[Lvl 1 Weight] )

w.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Icey
Community Support
Community Support

Hi @Anonymous ,

If I understand you correctly, the column "Project Weighting" you provided is what you want to calculate using DAX. 

If so, you can create a column like so:

Column = LV2[Lvl 2 Weight] * RELATED ( LV1[Lvl 1 Weight] )

w.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi Icey,

 

Thans!. Its help.

 

JS

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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