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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Logic required RUN RATE

this is my run Rate logic=

 

(NUM(sum([Prd. Value]) / vCrore  /  if(GetFieldSelections(FMonth)=month(today())
and GetFieldSelections (YEAR) ='14-15' , Day(date(today()) ), ((count(Days)))),'#.##') )

 

and I want it to run it for current month and year only when I will select back month it should give me NOT APPLICABLE

Labels (1)
2 Replies
anbu1984
Master III
Master III

=If(GetFieldSelections(FMonth)<>month(today()) Or and GetFieldSelections (YEAR) < Year(Today()),'NOT APPLICABLE',YOUR_RUN_RATE_EXPR)

Not applicable

Abhay, You can try like this:

if((GetFieldSelections(FMonth)=month(today()) and GetFieldSelections(YEAR) ='14-15'),

NUM((sum([Prd. Value]) / vCrore /count(Days)),0.00),'Not Applicable')