Forum Discussion

bartvana's avatar
bartvana
Iron Contributor
Apr 02, 2021
Solved

SUMIFS with dates in table

Hello,

Can anyone explain why the below formula yields 0 as a result please? (I want the sum of all quantities of the last year.)

 

  • bartvana 

    Please use "<="&[@date] instead of "<=[@date]", etc. Second one literally returns the text inside the quotes which definitely couldn't be found. 

4 Replies

  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    bartvana 

    Please use "<="&[@date] instead of "<=[@date]", etc. Second one literally returns the text inside the quotes which definitely couldn't be found. 

    • bartvana's avatar
      bartvana
      Iron Contributor

      Thank you, that definitely clears up one problem. I adapted accordingly, but I must still be making some stupid mistake because the value still remains zero although the sum shouldn't be:

      (edit: added the spreadsheet)

      • bartvana's avatar
        bartvana
        Iron Contributor
        OK, got it myself, the type of the date column in the Power Query that makes the table was "text", when I changed it to "date" it worked.

Resources