Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Last Day of month

Hi Guys,

I need one help..My scenario something like this,I have a Chart in which dimension is cyclic group of calendar and another dimension cyclic group of Country and City . I have expression as sum(Sales).

My requirement is when i select Country in cyclic group I should get sum(sales)by Last day of period/month but when i select City it should display sum(sales)by period

1 Reply
tresesco
MVP
MVP

May be something like like this?

If(getCurrentField(YourGroup)='Country', Sum({<Date={'$(=Max(Date))'}>}Sales) , If( .....

If this does not help, please share a sample app.