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 ,
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
Anonymous
6 years agoNot applicable
Hi
this is my actual problem.
Thanks
Kg
- amitchandak6 years agoSuper User
Anonymous , That is wrong, why are you using month year in dateadd function.
you need to use date. Same has been provided in all formulas
- Anonymous6 years agoNot applicable
Still same
- amitchandak6 years agoSuper User
Anonymous , This wrong usgaes. If you need just to diaply next month use this
next month = format(eomonth(today(),1),"MMM-YYYY")