Forum Discussion
Sum based of current date
- 5 years ago
Hi, atjt217
Please try to write something like below.
newmeasure =
VAR currentmonth =
MONTH ( TODAY () )
RETURN
CALCULATE (
[Revenue],
FILTER (
ALL ( yourdatetable ),
datecolumn <= TODAY ()
&& monthnumbercolumn = currentmonth
)
)Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Hi, atjt217
Please try to write something like below.
newmeasure =
VAR currentmonth =
MONTH ( TODAY () )
RETURN
CALCULATE (
[Revenue],
FILTER (
ALL ( yourdatetable ),
datecolumn <= TODAY ()
&& monthnumbercolumn = currentmonth
)
)
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
It works! Thank you Jihwam Kim!