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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Uma7
Contributor III
Contributor III

Calculated Field Usage in Charts

Hi,

i have the fields year,month,sales,region,success,failure,failed%,total where in i made a calculated field year-month for analysis purpose.

But i am not able to use the calculted field in chart.Even if i use the values doesn't appear in the chart.

can anybody help me resolve this?

Thanks in advance!

Labels (3)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master II
Partner - Master II

Within your load statement.

LOAD Sales,
Region,
Date(MakeDate(Year,Month,1),'YYYY-MMM') as YearMonth,
...
FROM SourceTable;

View solution in original post

8 Replies
BrunPierre
Partner - Master II
Partner - Master II

How is the year-month derived?

Uma7
Contributor III
Contributor III
Author

i concatenated the year month columns loaded from data in qlik data manager 

BrunPierre
Partner - Master II
Partner - Master II

Could you post a sample of the dataset?

Uma7
Contributor III
Contributor III
Author

Asia , nz90,2022,03,50,50,0.50%,2022-03

Europe,in90,2023,07,40,60,0.40%,2023

West Asia,An12,2022,09,30,70,0.70%,2022-09

this is how the data looks 

 

 

BrunPierre
Partner - Master II
Partner - Master II

Date(MakeDate(Year,Month,1),'YYYY-MMM') as YearMonth,

Uma7
Contributor III
Contributor III
Author

where should i add the expression given by you ?

BrunPierre
Partner - Master II
Partner - Master II

Within your load statement.

LOAD Sales,
Region,
Date(MakeDate(Year,Month,1),'YYYY-MMM') as YearMonth,
...
FROM SourceTable;

Uma7
Contributor III
Contributor III
Author

thanks will let you know the results