Cognos Techical Discussions

Saturday, 9 November 2013

How do we get the Previous Month Sales Data?



if(?Previous?='Previous Month') then ([Date Field] between _first_of_month (_add_months (current_date,-1)) and _last_of_month (_add_months (current_date,-1))) else ([Date field] in_range ?DatePrompt)

Posted by Unknown at 11:06
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (12)
    • ▼  November (12)
      • Sorting Month column when it is in Jan, Feb Mar …....
      • How to calculate percent change for months
      • How to Use a Prompt Macro to Dynamically Select a ...
      • Using Prompt Macro for Optional and/or Required
      • How to add additional column titles into a list
      • Hiding a list or crosstab by using a render variable
      • Scrolling data from Right to left in Report studio
      • Converting months into Quarters.
      • Cognos Controller
      • How do we get the Previous Month Sales Data?
      • How do we calculate MTD, YTD in cognos
      • How do we get the Last month last working day in ...

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.