Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Min for Multiple category

Hi Team,   DAX : I need to find min value for below table in each UID value.     UID, Cat remaining fields are measures (calculated New Measures)      Analysis result_1 : expected UID wise min v...
  • V-lianl-msft's avatar
    5 years ago

    Hi Anonymous ,

     

    Please try to create measures like below:

    Min_ = MINX(ALLEXCEPT('Table','Table'[UID]),[Prod_stock])
    
    sum_ = SUMX(ALL('Table'[UID],'Table'[Cat]),[Min_])

     

    Sample .pbix

     

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