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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Plotting certain values on chart from an excel file

Hi all,

I have got data that looks similar to this:

ContinentCountryCityPopulation

Asia

China

H.kong

20000

AsiaJapanShanghai125200
AsiaIndiaMumbai7458795
AfricaS.africaJohannesburg124578
AfricaNigeriaabc1247953
EuropeItalyRome23365487
EuropeSpainMadrid9874561
EuropePortugalLisbon2379451

I am looking to plot a bar graph only for the continent "Europe".

When I select Dimensions in Chart properties and select Continent, then all the continents graph comes up.

Can I get the expression please (Where does this expression need to be added)

How do I select only certian values which is 'Europe' in this case.

Regards,

K.V

1 Solution

Accepted Solutions
Not applicable
Author

Hi all,

I found the solution for it.

The expression is:

 

=

If ( [Continent] = 'Europe', 1, Null() )

- Tick on the check box where it says supress null values

Thanks.

Regards,

K.V

View solution in original post

4 Replies
MEllinghausen
Creator III
Creator III

the simple Way, you choose Europe from a Listbox

Not applicable
Author

Hi Marcus,

I am looking to create a  bar graph of Europe for which expression needs to be added while selecting dimensions in chart properties. I would like to know the expression and where to add the expression..

.

Regards,

K.V

MayilVahanan

HI

Try like this

=Sum({<Continent={'Europe'}>} YourExpression)

Hope it helps

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

Hi all,

I found the solution for it.

The expression is:

 

=

If ( [Continent] = 'Europe', 1, Null() )

- Tick on the check box where it says supress null values

Thanks.

Regards,

K.V