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: 
anilet123
Partner - Contributor III
Partner - Contributor III

How to display actuals till current month and budget for future months in qlikview bar chart?

Hi ,

I have a requirement to display actuals and budget for all months in a selected year, in which i have always one value selected in Year and Month fields. For eg , if March is selected, Jan , Feb & Mar should display actuals whereas Apr to Dec should display budget numbers. Can anyone pls help on this?

Attaching dummy data for the same

Capture.PNG

Regards,

Anilet Nirmal

12 Replies
anilet123
Partner - Contributor III
Partner - Contributor III
Author

Hi Vineeth,

Thanks you so much for giving such a wonderful solution. I missed the equals to sign while creating the variable and used $(vMonth) in my actual expression. Now corrected both and your solution works perfect. Thanks again.

Regards,

Anilet Nirmal

anilet123
Partner - Contributor III
Partner - Contributor III
Author

Hi qliksus,

This solution also worked but how do I change the background color using this expression ?

Thanks

Anilet Nirmal

qliksus
Specialist II
Specialist II

Hi Nirmal,

The same color expression should work

=if( only({1}DATE(DATE_SKEY))<=4, LightCyan() ,LightMagenta())

and your chart expression is what I stated above