Forum Discussion

saikiran's avatar
saikiran
Icon for Helper I rankHelper I
6 years ago
Solved

how can i get previous row

Hi all, Hope all are doing good.    I am getting one problem can you please help me anyone as soon as possible. It's very urgent.   Studying Students end othe month = (Studying studnets+Ap...
  • v-juanli-msft's avatar
    v-juanli-msft
    6 years ago

    Hi saikiran 

    Create measures

    Measure+ = SUMX(FILTER(ALLSELECTED('Table'),'Table'[month]<=MAX('Table'[month])),CALCULATE(SUM('Table'[app+visa])+SUM('Table'[studying students])))
    
    Measure- = SUMX(FILTER(ALLSELECTED('Table'),'Table'[month]<=MAX('Table'[month])),CALCULATE(SUM('Table'[graduations])))
    
    Measure final = [Measure+]-[Measure-]

    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.