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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Srinivas
Creator
Creator

Max month bar chart

Hi All,

I have one chart , that chart would shows all months data but i need max month data only means one bar chart,

Pleased find the attached one.

Labels (1)
12 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

See attached example.


talk is cheap, supply exceeds demand
its_anandrjs
Champion III
Champion III

Hi,

In your Qlik file add Num field for Month field like

Date:

LOAD Date,

ID,

Year(Date) as Year,

Month(Date) as Month,

NUM(Month) as NumMonth,

Sales

FROM

(ooxml, embedded labels, table is Sheet1);

And in expression use it like

sum({<Year ={$(=max(Year))}, NumMonth ={$(=max(NumMonth))}>}Sales)



Regards

Anand

prma7799
Master III
Master III

PFA...

its_anandrjs
Champion III
Champion III

Also you can use same Month field also see the attachment

And use the expression

sum({<Year ={$(=max(Year))}, Month ={$(=Month(Date#(Max(NUM(Month)),'M')))}>}Sales)

Regards

Anand

Anonymous
Not applicable

Hi,

Please refer attached .qvw file.

Thanks

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi,

PFA.....

Regards,

Nagarjuna

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

Hi Srinivas ,

If you got your answer.Kindly close this tread.

Regards,

Nagarjuna

Srinivas
Creator
Creator
Author

Hi nagarjuna,

initially i want to show single bar means max month , after that according to selections i want to show all bars

like below image is showing single month data ..

1.PNG

if i select multiple selection then it will show multiple bars like

1.PNG

Regards

srinivas

nagarjuna_kotha
Partner - Specialist II
Partner - Specialist II

You can achieve this,

PFA below atttached,

In that If you did nit select any month it will only max Month data only, if you select months accordingly it give .

_Nagarjuna