Forum Discussion

Chandrashekar's avatar
Chandrashekar
Resolver III
3 months ago
Solved

Hour Calculation

Hello,   How to display Flag_Hrs to 1 if Flag_Hrs greater then 1 or 0 if lesser then 10   and 1 & 0 should display in slicer. PBIX Link: PBIX Link      Regards, Chandrashekar B  
  • mdaatifraza5556's avatar
    mdaatifraza5556
    3 months ago

    Hi Chandrashekar for that create one more measure using below dax

    Flag_Hrs_Display =
    IF(
        [Hours] > 10,
        1,
        0
    )

     

     

    If this answers your questions, kindly accept it as a solution and give kudos.