Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Parameter Logic

Hi there,   Could somebody please help me with some logic? Below are the IF statements I need for Power BI from Excel, but New End Date and New Start Date are column fields, and with  parameters o...
  • MFelix's avatar
    MFelix
    6 years ago

    Hi Anonymous ,

     

    This need to be formatted so the calculation will be something similar to this:

     

    0.0903 * 24  = 2.1673

    (2.1673 - 2 ) * 60 = 10

    2: 10

     

    Basically is making the calculation in hours and picking only the integer, then multiply the decimals by 60 minutes and so on.

     

    I have the formula and can give you but need to check it on a previous file since I don't know by heart.