Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
renuka_sasikumar
Creator III
Creator III

Conditional Values

I have cycle & Fiscyear

Now I dont want to show sales value only when current month is select other than its should show.

Even if i select 2013 year jan its show but when selecting 2014 jan its should not show

1 Solution

Accepted Solutions
renuka_sasikumar
Creator III
Creator III
Author

Hi,

This is been resolved,

I have given condition in the layout when its max(FYear) and Max(Cycle) it should not reflect.

That time I was new in Qlikview

Regards,

Renuka S

View solution in original post

3 Replies
PrashantSangle


Hi,

Try like

if(MonthName(datefield)=monthName(today()),0,sum({<dateField={"=$(=monthName(max(dateField)))"}>}Sales))

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
sunilkumarqv
Specialist II
Specialist II

Try like according to your requirement

IF(getfieldselections(Year)='2014' and Getfieldselections(Month)='Jan',0,

sum({<dateField={"=$(=monthName(max(dateField)))"}>}Sales))

renuka_sasikumar
Creator III
Creator III
Author

Hi,

This is been resolved,

I have given condition in the layout when its max(FYear) and Max(Cycle) it should not reflect.

That time I was new in Qlikview

Regards,

Renuka S