Forum Discussion

admin11's avatar
admin11
Icon for Memorable Member rankMemorable Member
5 years ago
Solved

How to modify the YTD GP% expression , so that it will return GP < 20% ?

Hi All   I have below expression working fine :- GP% YTD = DIVIDE(([Sales YTD] - [COST YTD]),[Sales YTD])   May i know how to modify the expression , So that it will return only those 3 row whe...
  • amitchandak's avatar
    5 years ago

    admin11 , Try a measure like

     

    GP% YTD =
    var _1 = DIVIDE(([Sales YTD] - [COST YTD]),[Sales YTD])
    return
    if(_1 <.2 , _1, blank())