Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Measure

how to make the below highlight in on Measure


ex ,
Us = sum( [houus] )/ 48.
UK = sum( [houus] )/ 45.
TN= sum( [houus] )/ 40
i want to make all of them in Measure 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Thanks All,
    i could not have solved without you , my solution is

    FTE =
     IF(SELECTEDVALUE(Overall[Location (Country)]) = "KSA", [hours] /48,

     IF(SELECTEDVALUE(Overall[Location (Country)]) = "UAE",
            [hours] /45,
     IF(SELECTEDVALUE(Overall[Location (Country)])= "Greece","Germany",
     [hours]/40)))

7 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Can you explain more about this problem?

    It will help to solve this problem.

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      ex ,
      Us = sum( [houus] )/ 48.
      UK = sum( [houus] )/ 45.
      TN= sum( [houus] )/ 40
      i want to make all of them in Measure 

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    1. Create a conditional column.

    2. Create New column.

    FTE = 'sample data'[Hours]/'sample data'[Time calc]
     
    Output:

     

    Best Regards,

    Shreya Mukkawar

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

    • Anonymous's avatar
      Anonymous
      Not applicable

       

      when you divide 3753 on 48 it should give 77.81

      thanks

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    Like this?

    just create a measure:

    FTE = var _US=SELECTEDVALUE('Table'[hours])/48
    Var _UK=SELECTEDVALUE('Table'[hours])/45
    var _UETN=SELECTEDVALUE('Table'[hours])/40
    return IF(SELECTEDVALUE('Table'[item])="US",_US,IF(SELECTEDVALUE('Table'[item])="UK",_UK,_UETN))

    And you can also refer to my pbix file for better understanding.

     

    Best regards,

    Community Support Team Selina zhu

    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

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Thanks All,
        i could not have solved without you , my solution is

        FTE =
         IF(SELECTEDVALUE(Overall[Location (Country)]) = "KSA", [hours] /48,

         IF(SELECTEDVALUE(Overall[Location (Country)]) = "UAE",
                [hours] /45,
         IF(SELECTEDVALUE(Overall[Location (Country)])= "Greece","Germany",
         [hours]/40)))