Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
kishorj1982
Creator II
Creator II

showing data till max (month)-1

Hi All,

I have data from June to December.

if December is displayed need to show data till November.(Jun,Jul,Aug,Sept,Oct,Nov)

if Jan displayed need to show data till December.(Jun,Jul,Aug,Sept,Oct,Nov,Dec)

Can you please suggest how to handle this at dimension level.

Provided is the month field.

Thanks

7 Replies
Anil_Babu_Samineni

Don't use equal sign like?

{<Month = {"<=$(=Max(Month)-1)"}>} instead use like below

{<Month = {"<$(=Max(Month)-1)"}>}

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
kishorj1982
Creator II
Creator II
Author

can u plz suggest how to handle this at dimension level

Anil_Babu_Samineni

May be this?

If(Month < AddMonths(Max(TOTAL Month),-1), Month)


Note - Suppress when value is null should be checked.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
kishorj1982
Creator II
Creator II
Author

Thanks Anil

But this has not worked.

Thanks

Anil_Babu_Samineni

Will you able to provide sample

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
kishorj1982
Creator II
Creator II
Author

PFA

Anil_Babu_Samineni

Seems working?

=If(Month_Turns < Max(TOTAL Month_Turns), Month_Turns)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful