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: 
Anonymous
Not applicable

question about bar offset

Hi all,

I need to create a bar chart which shows the gender/age structure of the readers of editions.

I need to set a bar offset between men and women.

But it fails to work as required.

Could you look at the file attached and give me a prompt?

Thank you in advance,

Larisa

1 Solution

Accepted Solutions
sunny_talwar

How about this:

=If(WildMatch(Only(Group), 'women*') and WildMatch(Above(Only(Group)), 'women*') = 0, 3)

Capture.PNG

View solution in original post

2 Replies
sunny_talwar

How about this:

=If(WildMatch(Only(Group), 'women*') and WildMatch(Above(Only(Group)), 'women*') = 0, 3)

Capture.PNG

Anonymous
Not applicable
Author

Thanks, Sunny!

The solution is simple and nice. I appreciate.