Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Try
Sum({<DateField={">=$(=Num(MonthStart(Today())))<=$(=Num(Today()))"}>} [Net Sales Amount])
Hi Vegar. Thank you, didn´t work unfortunately. I have also tried the expression:
Sum({$<$(vL.MTD)>}[Net Sales Amount])
Where the variable vL.MTD is: [Booking InMTD]={1},[Booking YearsAgo]={$(=min("Booking YearsAgo"))}
What it shows right now is 1-10 but for every month in 2019.
So 1-10 jan 2019, 1-10 feb 2019, 1-10 mar 2019... 1-10 october 2019.
How do I change to only make it show 1-10 october 2019?
Hi Bobi,
You can create a variable and which returns the data for current month something like this "Month(max(MonthField))"
and use that variable in your expression where to want to show data only for current month something like this
=if(GetSelectedCount(MonthField)=0,sum({$<MonthField={"$(vCurrentMonth)"}>}Sales),
sum(Sales))
Change the expression accordingly.
Regards,
Puneet Agarawal