Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Help with Restrict data to 2 comparative Year Period only

$
0
0

I create a report using the Enter Report Date Object in Universe because I want to pull Current Month measure and Prior Month measure. However, its pulling out all previous years data to 2011 where data starts. So if user enters Dec 2015, I see all periods data from Jan 2011 to user date.

 

QUESTION is:My table has the following 4 fields; Calendar period, Company, Current Month Measure, Prior Month Measure.  If user select Dec 2015, How do I restrict data to only 2 comparative years? Right now it pulls all data from the system. I need just 2 years based on users select date - Is this possible? All help really appreciated.

 

 

I get below samples which is NOT what I want

Calendar Period    Current Month               Prior Month

1/1/2011                        6777                    7777

3/4/2013                        9990                    7000

1/1/2014                        7777                    5555

4/12/2015                      3000                     6590

 

I need to see the Data as below

Calendar Period    Current Month               Prior Month

1/1/2014                        6777                    7777

3/4/2014                       9990                    7000

1/1/2015                        7777                    5555

4/12/2015                      3000                    6590


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>