Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2151

Re: Exclude Current Month from Line Chart?

$
0
0

Hello Vishal,

 

I am assuming that you have used Year Month Dimension(Say [ActualDateDimension]) in your Graph and having format YYYY-MM

 

So create a Dimension as

 

[CurrentYearMonth]=FormatNumber(Year(CurrentDate());"####")+"-"+FormatNumber(MonthNumberOfYear(CurrentDate());"0#")

 

Then Create aother Dimension as [Check]=If [ActualDateDimension]=[CurrentYearMonth] Then 0 Else 1

 

And use this Check in your Graph filter as [Check]=1

 

Hope this helps.

 

Regards

Niraj


Viewing all articles
Browse latest Browse all 2151

Trending Articles



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