Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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

  • 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] )

     

    Best Regards,

    Icey

     

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

2 Replies

  • Icey's avatar
    Icey
    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] )

     

    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's avatar
      Anonymous
      Not applicable

      Hi Icey,

       

      Thans!. Its help.

       

      JS