Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Compare different weeks of chart

Hi there,

How can i do a comparison of the 2 set of charts in 2 different week or month.

current selection: ct=t , week= 39 and 40

Example the top charts is to display the data in week 39 and the bottom charts in week 40

Please see my attached sample.

Thanks

10 Replies
Frank_Hartmann
Master II
Master II

hi,

see attached sample.

hope this helps

Not applicable
Author

Hi Frank

i modified from  "Week" to "Vessel/Voy" in all the fields/expression, it doesnt work after that.

Not sure what is missing.

Pls see attached.

Anil_Babu_Samineni

Why it doesn't work.

Would you share expression partially on Wall. So that we may can help you. Off course, I dont have license tooo

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
Frank_Hartmann
Master II
Master II

I cant follow you.

If I select e.g Week 18 and Week 26 and after that I select some values  from "select Vessel"

then the chart shows the result according my selections.

The upper row shows Week 18 with selection for "select Vessel" and the lower row shows Week 26 with selection for "select Vessel". Isn´t that what you wanted to achieve?

Unbenannt.png

Can you describe the requirement in more detail?

Not applicable
Author

‌Hi Frank,

Sorry for not making myself clear .

i Want to change the comparison by Select  Vessel  instead of week.

Vessel A compare with Vessel B , regardless of week.

THanks

Not applicable
Author

I have to know the week value of that vessel if i want to compare.

So if compare just by Vessel A and B, i dont need know the week value for both vessels fall in.

Frank_Hartmann
Master II
Master II

like this?

Frank_Hartmann
Master II
Master II

attached a new version

hope this helps

Not applicable
Author

Hi Frank

Yes, thanks.

How can i combine the "Week: 34 - Name_of_Vessel"  for the title of the chart

='Week: '&Subfield(GetFieldSelections(Week),',',1)

='Vessel: '&Subfield(GetFieldSelections([Vessel/Voy]),',',1)