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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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