Forum Discussion

abc_777's avatar
abc_777
Solution Specialist
3 years ago
Solved

hi

Hi,   in one screen shot when select slicer FY20   total quantity in Piece (measure) column for year 2019 is 1,744,518 KG (Current Data) total quantity in Piece (measure) column for year 20...
  • abc_777's avatar
    abc_777
    3 years ago
    Total Quantity in Piece (Measure) = CALCULATE
    (SUMX
        ('bm_retail_t sale', ('bm_retail_t sale'[SQTY]  ----------------> sale quantity column
            -'bm_retail_t sale'[RQTY]))) --------------> return quantity column
     
     ======================================================
     
    Quantity Last Year =
    CALCULATE(
        [Total Quantity in Piece (Measure)],
        PARALLELPERIOD(
            BMCalendar[Date],
            -1,
            YEAR
        )
    )
     
    if i could share it would easy for me to destribe but this is full of cmpany data as you seen my previous scren shot. i am sorry. but really need your help to do this
     
    thanks
     
     
  • abc_777's avatar
    abc_777
    3 years ago

    no way to subtract two measure in two different row?