Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
nvijay5757
Creator
Creator

Qliksense Sankey chart to display each dimension top 10

Hi in Qliksense Sankey chart, in my chart 5 Dimensions each Dimension to display Top 10 please help me

#Sankey chart

1 Solution

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi,

you can do this in two ways either one you can limit the data by limitation property-->FixNumber

or Using the Rank function for the dimension.  like 

if(aggr(rank(Sum(Measure)), Dimension) <= 10, Dimension)

 

abhijitnalekar_0-1634819960329.png

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

7 Replies
abhijitnalekar
Specialist II
Specialist II

Hi,

you can do this in two ways either one you can limit the data by limitation property-->FixNumber

or Using the Rank function for the dimension.  like 

if(aggr(rank(Sum(Measure)), Dimension) <= 10, Dimension)

 

abhijitnalekar_0-1634819960329.png

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
nvijay5757
Creator
Creator
Author

Hi Abhijit,

Thank you your answer is working but 1st and last Dimension still showing 12 to 13 results

i have tried both the above but expression is only working

my Dimensions are all text(characters- Description)

nvijay5757
Creator
Creator
Author

Hi Abhijit,

in my data null values are available when i apply top 10 it is showing 11 to 12 

can you please how to replace null values with 0 

abhijitnalekar
Specialist II
Specialist II

Hi @nvijay5757 ,

Is it possible to share the sample data?

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
nvijay5757
Creator
Creator
Author

Hi Abhijit,

WC WCC WCC1 Condition
CHAS OTHE FRAME FLA
CHAS   STEERIN  
CHAS OTHER   BROKEN
  OTHER STANDARD DOES NOT 
CHAS   FRONT FLA
CHAS SHOCK FRONT  
CHAS SHOC FRONT LOOSE
CHAS FRONT    CHAFED
CHAS   FRONT  
CHAS SHOC FRONT LOOSE
  SHOC REAR SURFAC
CHAS DISC   SURFAC

the sample data, some null values are available. can you please help me.

 

abhijitnalekar
Specialist II
Specialist II

Hi @nvijay5757 ,

 

Is Include null value is unchecked.

 

abhijitnalekar_0-1635403604945.png

 

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!
nvijay5757
Creator
Creator
Author

Hi Abhijit,

the above option is fine. already checked that.

my conditions are 1. to display overall %  2. top 10 to display

when i uncheck the option the overall % is changing and it is showing 35% not 100%

and instead of top 10 it is showing 11 to 12 showing Sankey chart

and i applied for top 10 =if(aggr(rank(Count()), ) <10, )

and selected limitation also

all options i have tried.  help me