Forum Discussion

utsavlexmark's avatar
utsavlexmark
Icon for Helper III rankHelper III
7 years ago
Solved

Measure not showing the Total

Hello, I am working on a Power BI dashboard with lots of conditional values to be shown. In the process I found a obsrtuction and need help to overcome that. I have created one measure as follows: ...
  • v-juanli-msft's avatar
    v-juanli-msft
    7 years ago

    Hi utsavlexmark 

    Cretae a measure

    QTY Need 2 =
    IF (
        HASONEVALUE ( 'Table'[partnumber] ),
        IF ( [QTY Need v1] < 0, 0, [QTY Need v1] ),
        SUMX ( ALL ( 'Table'[partnumber] ), [QTY Need] )
    )
    

     

    Best Regards
    Maggie

     

    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.