Forum Discussion
Anonymous
6 years agoNot applicable
Nextmonth calculation
Hi, This is my table.I just want to calculate Aug month total hours value. I used this measure Next month value = calculate(sum('table'[total hours value]),dateadd(table[month year],+1,mont...
- 6 years ago
Anonymous , This wrong usgaes. If you need just to diaply next month use this
next month = format(eomonth(today(),1),"MMM-YYYY")
Pragati11
6 years agoSuper User
Hi Anonymous ,
Create a measure as follows:
next month sales = CALCULATE(SUM(ClothingSales[Sales]), DATEADD(ClothingSales[Date], 1, MONTH))
Just use your dates column in above dax.
Thanks,
Pragati
- Anonymous6 years agoNot applicable
Thanks Pragati..its not working
- Pragati116 years agoSuper User
Hi Anonymous ,
Your comment - Not working doesn't give me any insight on what is wrong with it.
Always helpful to have some screesnhot with error.
Thanks,
Pragati
- Anonymous6 years agoNot applicable
Its still showing July values not aug values
- Anonymous6 years agoNot applicable
Can you help me to calculate the next month measure alone.
ans should be "Aug 2020".
i tried Next month = month(today()+1)
the ans was "8"..but i need Aug 2020
Thanks
Kg
- Pragati116 years agoSuper User
Hi Anonymous ,
You can use following measure to get next month value:
Next month = DATEADD(ClothingSales[Date], 1, MONTH)Replace ClothingSales[Date] in above dax with your date column.Also, please try tagging people you are trying to respond from next time.Thanks,Pragati