Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

Exclude current/latest fiscal month year

Hi all,

I have a graph like below, but since the month of July hasn't ended, I would like to exclude it.

last fiscal month year.PNG

I have 2 dimensions on this chart: FMonth (with values like Apr, May, Jun), and FYear (with values like 2014/2015, 2015/2016). Any ideas?

Labels (1)
6 Replies
settu_periasamy
Master III
Master III

Hi,

i think you need to change the Previous Year (2014 - 2015) set expression. It shows the full Financial year value.

if possible, post the sample.

robert_mika
MVP
MVP

LIke this:

=if(month='Jul',0,sum(Sales))

2015-07-28_045228.png

robert_mika
MVP
MVP

or more dynamic:

=if(month=Month(Today()),0,sum(Sales))

Feeling Qlikngry?

How To /Missing Manual(18 articles)

senpradip007
Specialist III
Specialist III

Try like this in expressions:

=if( MonthEnd(Today()) <> today(), 0, sum(Sales))

sifatnabil
Specialist
Specialist
Author

Hi Robert_Mika‌, settu_periasamy‌, senpradip007‌, these won't work because my chart has 2 dimensions: FMonth (with values like Apr, May, Jun), and FYear (with values like 2014/2015, 2015/2016).

So I have to apply some logic on both these.

jagan
Partner - Champion III
Partner - Champion III

Hi,

Exclude it using set analysis

=Sum({<FMonth=, FYear=, DateFieldName={'>=$(=YearStart(Max(DateFieldName), -1, 4))<=$(=MonthEnd(max(DateFieldName), -1))'}>} Sales)

Replace DateFieldName with your actual date field name.

Hope this helps you.

Regards,

Jagan.