Forum Discussion

ZeinabGad's avatar
ZeinabGad
New Member
7 years ago

Merging between two columns depending in three different conditions

Hello,

 

I'm facing a problem with the data I have 

 

In one table, I have a line, the shift and day, these three identify the row (Loading time) I need the Power Bi to fetch. 

In the other table (Machine breakdown) I have the same date, line and shift but they are repeated for different machines

 

I need to calculate the percentage of contribution of that machine in breakdowns from the time of the shift. 

 

Any Idea how?

3 Replies

  • Amit2019's avatar
    Amit2019
    Frequent Visitor

    Can you please share the Sample data and the desired output ?

     

    Thanks,

    Amit Dhiman


    ZeinabGad wrote:

    Hello,

     

    I'm facing a problem with the data I have 

     

    In one table, I have a line, the shift and day, these three identify the row (Loading time) I need the Power Bi to fetch. 

    In the other table (Machine breakdown) I have the same date, line and shift but they are repeated for different machines

     

    I need to calculate the percentage of contribution of that machine in breakdowns from the time of the shift. 

     

    Any Idea how?


     

  • Amit2019's avatar
    Amit2019
    Frequent Visitor

    Can you please share the sample data and the desired output ?