Forum Discussion

Nathan__Mox's avatar
Nathan__Mox
Icon for Helper I rankHelper I
4 years ago
Solved

Power BI Desktop creating a separate DAX calculation for certain rows

Hi all,    I have a dax calculatioin of  Column = [on Hand] + sumx(filter('graph test', 'graph test'[date] <= earlier('graph test'[date]) && [Item code] = earlier([item code]) ), [Qty] - [Weekly ...
  • ryan_mayu's avatar
    ryan_mayu
    4 years ago

    Nathan__Mox 

    pls try this

    Column = if('Table'[Date (Week starting).]=CALCULATE(min('Table'[Date (Week starting).]),ALLEXCEPT('Table','Table'[Item Code.])),'Table'[on hand], 99999)

    replace 99999 with your current formula.