Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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 (2)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

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
Partner - Master

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
Partner - Master

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
Partner - Master

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
Partner - Master

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