Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
antonybi
Creator
Creator

help needed

Hi Folks,

I have dummy data to create Gander diversity

but am not getting what exactly am looking for !!!

I want to see my out put as per my below snap shot

Can someone help me out from this??

PFB for for your reference!!!

1 Solution

Accepted Solutions
6 Replies
techvarun
Specialist II
Specialist II

Hi,

Check the attached.

antonybi
Creator
Creator
Author

Yes i have tried the same.

But

In snap shot, There are only 2 legends(Male and Female).


also have dimensions count by Gander and % by Gander


which is not showing  .


Pls suggest!!

devarasu07
Master II
Master II

Hi,

Try to use Valuelist method,

Dimension:

=Valuelist('Female','Male')


Measure:

Count by Gendar

If(ValueList('Female', 'Male')='Female',Count({$<gendar = {'F'}>}id),

If(ValueList('Female', 'Male')='Male',Count({$<gendar = {'M'}>}id)))

% by Gendar

If(ValueList('Female', 'Male')='Female',Count({$<gendar = {'F'}>}id)/Count(TOTAL id),

If(ValueList('Female', 'Male')='Male',Count({$<gendar = {'M'}>}id)/Count(TOTAL id)))

Capture.JPG

antonybi
Creator
Creator
Author

Almost closed but my dimensions are Count by Gander and % by Gander

and also have legends are Male and Female.


Can you please kindly look at??



Output.JPG

tresesco
MVP
MVP

Like this?

Capture.PNG

rahulpawarb
Specialist III
Specialist III

Please refer attached sample application.

Hope this will help.

Regards!

Rahul Pawar