Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I have Date as dimension in bar chart (presing latest 4 months date) and measure as sum(sales)..
Now i have to add another measure to find sum(sales) for last 3 months dynamically excluding current month.. for each date wise going back for last 3 months of Sum(sales)?
after that i have to calculate AVg sales --> current date(sales)/last 3 months sales
sample data below having dates from March, April, may, june month dates..
you mean ur used below expression right
AGGR( nodistinct Sum({1< [Report Date]={">=$(=Date(monthstart(=max([Report Date]),-3), 'MM/DD/YYYY'))<=$(=Date(monthend(=max([Report Date]),-1), 'MM/DD/YYYY'))"} Saleable ), [Report Date.autoCalendar.Month]) / (date(monthend(max( [Report Date]),-1))-Date(monthstart(max( [Report Date]),-3)))
Here also am getting values only for the first date of every month .. reamin dates null as shown below.
HI SUnny ..
with This logic.. the values are coming only first day of the every month.. its not repeating till month end..
can you please let me know how to drag same first date value till the month end..
@sunny_talwar @Gysbert_Wassenaar @hic @tresesco @Antoniotiman
Would you be able to share a sample where we can see the issue and try it out?
I see that you tried implementing As-Of Table. Would you be able to share SampleData.xlsx so that I can try reloading the dashboard to try and fix AsOfTable to make this work.
Check the attached dashboard to see if this is what you want
sunny,
I need this should split by dimension as date field ..
month wise its working fine.. am expecting date wise.. for all june month dates it should display same data( sum of mar, Apr, MAy month)