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: 
mambi
Creator III
Creator III

chart calculation

Hi everyone,

from the table below i want to make a chart so for every country if the 'music' info exists the chart bar display 1 else 0

Country

Market

France

video games

France

music

France

books

France

tourisme

Spain

books

Spain

tourisme

Deutch

video games

Deutch

music

Deutch

books

Deutch

tourisme

Deutch

cars

Deutch

job

thanks

3 Replies
Not applicable

Please find the attached file

MayilVahanan

Hi

PFA

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Anonymous
Not applicable

You can easily make a Flag Field in the script.

IF(Market = 'music' , 1 , 0)  as _musicflag

Then you can use _musicflag as your dimension in the chart.