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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out 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

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

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
MVP
MVP

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.