Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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.