Forum Discussion

Amir851's avatar
Amir851
Helper I
7 years ago
Solved

Running Percentage based pn Two columns ( DAX)

I have a table like this below

 

Table 1   
S.No.Equipments VesselsSum of Duration in Hrs
1Equipment 1Vessel 130:15:00
2Equipment 2Vessel 119:15:00
3Equipment 3Vessel 13:56:00
4Equipment 4Vessel 10:25:00
5Equipment 1Vessel 240:56:00
6Equipment 2Vessel 220:10:00
7Equipment 3Vessel 27:43:00
8Equipment 4Vessel 22:10:00
9Equipment 5Vessel 20:10:00

I want to add one another column in that which shows me Running Percentage of Sum of Duration in Hrs Based on Each Vessels.

 

Same equipment will be present in other vessel to ,, But the Running Percent should be reset based on Vessel. I know how to do with one column value. But I dont know how I can do using two column.

 

Below is the sample Table which is required.

 

Table 1    
S.No.Equipments VesselsSum of Duration in HrsSum of Duration in Percentage
1Equipment 1Vessel 130:15:0080
2Equipment 2Vessel 119:15:0092
3Equipment 3Vessel 13:56:00100
4Equipment 4Vessel 10:25:00100
5Equipment 1Vessel 240:56:0083
6Equipment 2Vessel 220:10:0088
7Equipment 3Vessel 27:43:0095
8Equipment 4Vessel 22:10:00100
9Equipment 5Vessel 20:10:00100

Basically I am trying to create a pareto curve, Is there is any way to do using DAX formula.

  • Hi Amir851

     

    Please check if this post could help you.If it is not your case,please explain more about your expected output.Please let us know how to get Sum of Duration in Percentage?You may give some formulas of values 80 and 92 about how to get them.By the way,what's the data type of Sum of Duration in Hrs?

     

    Regards,

    Cherie

1 Reply

  • v-cherch-msft's avatar
    v-cherch-msft
    Microsoft Employee

    Hi Amir851

     

    Please check if this post could help you.If it is not your case,please explain more about your expected output.Please let us know how to get Sum of Duration in Percentage?You may give some formulas of values 80 and 92 about how to get them.By the way,what's the data type of Sum of Duration in Hrs?

     

    Regards,

    Cherie