Forum Discussion

thmonte's avatar
thmonte
Icon for Helper IV rankHelper IV
6 years ago
Solved

MIN of Calculated Column using measure as FILTER (Inventory Report)

I can't wrap my head around this I feel like I am close but I am unable to get what I need     I have a table that I have filtered down to a perfect state.  I am trying to create a new colum...
  • v-zhenbw-msft's avatar
    6 years ago

    Hi thmonte ,

     

    Could we ask how your Rolling Boxes Given Measure is written?

    Is it convenient for you to convert it to Calculate Column?

     

    We create a sample, if you can create a calculate column to replace it, then maybe our measure can help you.

     

    Measure = 
    VAR _min =
        CALCULATE (
            MIN ( 'Table'[Column] ),
            FILTER ( ALLSELECTED ( 'Table' ), 'Table'[Rolling Boxes Given] < 0 )
        )
    RETURN
        IF ( SUM ( 'Table'[Rolling Boxes Given] ) >= 0, BLANK (), _min )

     

     

    If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data and put your measure in it?

     

    Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

     

    Best regards,

     

    Community Support Team _ zhenbw

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

     

    BTW, pbix as attached.