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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
karensmith
Contributor II
Contributor II

Calculate label expression

I am using the below statement for a calculated dimension, I would like to the label to display the calculated monthname or Month/Year from the below expression.

sum

({<FYYear=, FYMonthName=,MonthSequenceNum={$(=only(MonthSequenceNum)-1)}>} POS_Amount, -2, -3, -4.....

I have the additional fields in my calendar table. Any suggestions?





1 Reply
johnw
Champion III
Champion III

Maybe this?

only({<FYYear=,FYMonthName=,MonthSequenceNum={$(=only(MonthSequenceNum)-1)}>} FYMonthName)

However, since you already have only(MonthSequenceNum), if that is connected to one and only one FYMonthName, I think it might be this easy:

only(FYMonthName)