Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I want a dimension for Months only in 2018 (jan-aug), so I can compare y2y
I have an expression:
=Month({<ServiceYear = {'2018'}>} ServiceDate)
But it give me an error.
I am trying to create a line chart that compares payments per month by year, but only for the months available in current yer Jan- Aug
Hi,
Wouldn't it be easier to do this with SET Analysis?
Very simplified example:
Sum({<Year = {'2018'}>}Amount) for 2018
Sum({<Year = {'2017'}>}Amount) for 2017
and month as dimension?
What is your actual expression?
Best,
Ali A
Hi,
Try this for the chart dimension:
=If(ServiceYear = 2018, Month(ServiceDate))
Uncheck Include null values
That filters out previous years....I want January- August, so I can stack lines representing previous years on top of each other. So 2016 Jan -Aug, 2017 Jan -Aug etc.
Try this for your line chart:
Dim1 for Month:
=If(Num( Month(ServiceDate)) <= $(=Num(Month(Max(ServiceDate)))), Month(ServiceDate))
Dim2 for Year:
=ServiceYear
Uncheck Include null values
Hi,
Wouldn't it be easier to do this with SET Analysis?
Very simplified example:
Sum({<Year = {'2018'}>}Amount) for 2018
Sum({<Year = {'2017'}>}Amount) for 2017
and month as dimension?
What is your actual expression?
Best,
Ali A