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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to display 2 different KPI on the same bar chart

hello dear members,

I have below set of data:

   

CompanyItemCodePeriodYearPeriodWeekSales in Week - 1SalesForcastInWeek0SalesForcastInWeek1SalesForcastInWeek2SalesForcastInWeek3SalesForcastInWeek4
CompanyAXYZ120161304040303050
CompanyBABC2201626070706060

100

When User selects any combination of  company + itemcode + periodYear + periodWeek, then user would like to see on the same bar chart as follows the fields renamed as:

Could you please help?

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Why don't you rename the fields in the script?

LOAD

     ...some fields...,

     SalesForcastInWeek-1 as [Week-1],

     SalesForcastInWeek0 as [Week0],

     ...etc


talk is cheap, supply exceeds demand