Skip to main content

#October0 discutindo

I would like your help with the following:

* 3 calculated columns in one table.

* Total Xmas sales last year, Xmas sales up to this week last year, and Xmas sales this year

*Combining all the columns, I get a wrong last year total.

 

If I comment out this week last year, I get a correct last year total.. I think the problem is with my calculated field logic

 

IF  (DATEPART('year',[Enquiry Created]) = 2016 AND DATEPART('week',[Enquiry Created]) <= DATEPART('week',today(), 'sunday')+1) THEN '2016 Now'

ELSEIF  DATEPART('year',[Enquiry Created]) = 2017 AND [Event Date] >= ⌗November 1, 2017# AND [Event Date] <= #January 31, 2018# THEN '2017 Now'

ELSEIF  [Event Date] >= #October 1, 2016# AND [Event Date] <= #January 31, 2017# THEN '2016 Total'

ELSE 'NULL'

END

 

Help with Calculated Field Logic

Thanks for your help

3 respostas
0/9000

Get to Know Salesforce Pro Bono

Tirana, AL Nonprofit Group

Nov. 1, 2019, 6 p.m.

 

Did you know that you have access to free Salesforce expertise through Salesforce’s Pro Bono Program? Join us to learn more about how the program works and how you can leverage it to finally complete that Salesforce project that you’ve been putting off. We’ll also share a few additional pro bon resources and best practices to help you make the most out of your future pro bono engagements.

 

#nonprofitdevelopment #nonprofitcloud #blazeyourtrail #salesforce #trailblazer #october #tirana #gathering #group #trailblazercommunity

 

Check out what happened:

https://trailblazercommunitygroups.com/events/details/salesforce-tirana-al-nonprofit-group-presents-get-to-know-salesforce-pro-bono/

0/9000
0/9000

October Gathering with the Tirana Nonprofit Trailblazer Community!

 

Thank you Leadership Development Association for engaging more and more youth to help them to realize their potential, to work with potential of young people and to give every youngster an opportunity to become leader and change-maker in his/her community in order to live in the world where young generation will apply the skills of change-making to solve complex problems of our societies.

 

Looking forward to meeting all nonprofits in Albania for the upcoming event "Get to Know Salesforce Pro Bono"

 

#nonprofitdevelopment #nonprofitcloud #blazeyourtrail #salesforce #trailblazer #october #tirana #gathering #group #trailblazercommunity

0/9000

Hi

 

I want to group the values associated to a custom date period. Currently I have sales data by month, what I want to do is to display the total sales by annual total. So as an example the annual total of October 2011 would be the sum of November 2010 sales through to October 2011 to account for a full year.

 

I would also like to compare this to the same annual total of the previous year, for example:

 

Oct 2010 annual total = X (sum of Nov 09 - Oct 10)

Oct 2011 annual total = X (sum of Nov 10 - Oct 11)

 

The database for this report is updated each month, so it would be great if the report updated with the latest months addition.

 

Hope this makes sense,

 

Many thanks

 

Chris

11 respostas
0/9000