Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
matthewlau120
Contributor
Contributor

Fliter Regard to only one dimension selection

Hi All

My question is about how to set up a set analysis formula regard to only "Outlet Dimension" in the below picture.

I need to calculate the MTD Value by each outlet. However, the MTD value is now aggregated but not in separate outlet  .

 

Here is the formula and the pic:

formula:=Sum({1<[check_time.autoCalendar.Year]={"$(=(year(Max(check_time))))"},[check_time.autoCalendar.Date]={">=$(=(MonthStart(Max(check_time))))<=$(=date(Max(check_time)))"}>}total_amt)

Now the JR and HC MTD Value is the same

Pic and Fliter Panel:Screen Shot 2019-02-13 at 3.44.06 PM.png

Screen Shot 2019-02-13 at 3.44.29 PM.png

 

1 Solution

Accepted Solutions
pradosh_thakur
Master II
Master II

For the selection to work

=Sum({1<[check_time.autoCalendar.Year]={"$(=(year(Max(check_time))))"},[check_time.autoCalendar.Date]={">=$(=(MonthStart(Max(check_time))))<=$(=date(Max(check_time)))"},[Outlet Name]=p([Outlet Name])>}total_amt)
Learning never stops.

View solution in original post

2 Replies
pradosh_thakur
Master II
Master II

for out let JR

=Sum({1<[check_time.autoCalendar.Year]={"$(=(year(Max(check_time))))"},[check_time.autoCalendar.Date]={">=$(=(MonthStart(Max(check_time))))<=$(=date(Max(check_time)))"},[Outlet Name]={'JR'}>}total_amt)

for HC

=Sum({1<[check_time.autoCalendar.Year]={"$(=(year(Max(check_time))))"},[check_time.autoCalendar.Date]={">=$(=(MonthStart(Max(check_time))))<=$(=date(Max(check_time)))"},[Outlet Name]={'HC'}>}total_amt)
Learning never stops.
pradosh_thakur
Master II
Master II

For the selection to work

=Sum({1<[check_time.autoCalendar.Year]={"$(=(year(Max(check_time))))"},[check_time.autoCalendar.Date]={">=$(=(MonthStart(Max(check_time))))<=$(=date(Max(check_time)))"},[Outlet Name]=p([Outlet Name])>}total_amt)
Learning never stops.