Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Cumulative sum with multiple filters

My objective is to calculate the sum of total population for a city based on 2018 year, and three different wage distribution bins     Under 30k = CALCULATE( SUM('Wage Distribution'[Total Po...
  • AllisonKennedy's avatar
    6 years ago

    If ID Year is set to number, you need to remove the quotes from "2018" to be simply 2018

     

    When you use the quotes, DAX assumes it to be text, so for numeric fields just simply state the number. 

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous ,

     

    As pointed out by AllisonKennedy , Remove quotes from the year "2018" .

     

     

    Regards,
    Harsh Nathani
    Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)