Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
mnvrma
Partner - Contributor III
Partner - Contributor III

How to get current month data

Sum({<AmountCr={">0"},CommenceMonth={'$(VCurrentMonth)'}>}AmountCr)

 

I'm getting whole year data but i want only Current month Data..

Please help here.

 

 

Labels (1)
2 Solutions

Accepted Solutions
Taoufiq_Zarra

I think we just need to check the date format.
Does CommenceMonth and VCurrentMonth have the same format ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

benoitgochel
Contributor III
Contributor III

Hi, 

What is your variable VCurrentMonth

Should be something like "Month(Today()) ".

Are you also sure you have a good filter on the year? Your month has to be a combinaison of the month and the year in order to only get, for instance, the december of this year and not all the decembers in your data. 

Regards, 

View solution in original post

2 Replies
Taoufiq_Zarra

I think we just need to check the date format.
Does CommenceMonth and VCurrentMonth have the same format ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉
benoitgochel
Contributor III
Contributor III

Hi, 

What is your variable VCurrentMonth

Should be something like "Month(Today()) ".

Are you also sure you have a good filter on the year? Your month has to be a combinaison of the month and the year in order to only get, for instance, the december of this year and not all the decembers in your data. 

Regards,