Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Creator III
Creator III

Label issue

Dear Sir/Madam

I have faced two problems stated below, please help :

1. Can not get Year from Date?

2. Label E cannot be shown after selecting both A & E Class?

Thank you

Tracy

1 Solution

Accepted Solutions
devarasu07
Master II
Master II

1) Can not get Year from Date?

use like below

=Year(Date(Num#(Date),'DD-MM-YYYY'))

also note if your going to use this year field in many chart object then use this code in back end one time and can reuse multiple chart.

Capture.JPG

2) Label E cannot be shown after selecting both A & E Class?

refer to the attachment.

just add Class Dimension and create a measure as  avg(Data) then u can get the desired output. thanks

Capture.JPG

View solution in original post

5 Replies
devarasu07
Master II
Master II

1) Can not get Year from Date?

use like below

=Year(Date(Num#(Date),'DD-MM-YYYY'))

also note if your going to use this year field in many chart object then use this code in back end one time and can reuse multiple chart.

Capture.JPG

2) Label E cannot be shown after selecting both A & E Class?

refer to the attachment.

just add Class Dimension and create a measure as  avg(Data) then u can get the desired output. thanks

Capture.JPG

tracycrown
Creator III
Creator III
Author

Dear Devarasu R

Thank you for your help, can you advise how to present both A & E in Scatter Chart for just a year ?.

Thank you

Tracy

devarasu07
Master II
Master II

Hi,

yes. you need to have min 2 measures for the scatter chart.

let say u can have sum(Data) and avg(Data)

Capture.JPG

Recipe for a Scatter Chart

tracycrown
Creator III
Creator III
Author

Dear Devarasu R

Many thanks for your kindness to share an article on scatter chart and detailed illustration, well done.

I would like to go one step further, please advise how to present average data for Type on Y-axis and Class on X-axis in particular year using Scatter Chart ?

Cheer

Tracy

tracycrown
Creator III
Creator III
Author

Dear Devarasu R

Attached is a sample extracted from www.360globalconsulting.com which is similar to what I requested in previous reply to you.

Thank you

Tracy