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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
nvijay5757
Creator
Creator

i need to calculate overall %

Hi

i need to calculate overall %(i have tried but not reached) like below table   measure(slno)

x y z
CHAS OTHER FRAME

Count({1} slno)/Count(total slno)

=Num(Count(distinct slno)/Count(total distinct slno),'#,##0.00%')

(Count(distinct slno)/Count(total slno))

help me for each dimension to display the %

#calculate overall %

8 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @nvijay5757 ,

 

As I can see you have applied the correct expression.

Can you please share the sample data, so that i can also test at my level too 

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 STEERING STEERIN LOOSE
CHAS OTHER POWERTRAIN  BROKEN
CHAS OTHER STANDARD DOES NOT 
CHAS FRONT FRONT FLA
CHAS SHOCK FRONT FLA
CHAS SHOC FRONT LOOSE
CHAS FRONT  FRONT CHAFED
CHAS SHOC FRONT CONTAMINATED
CHAS SHOC FRONT LOOSE
CHAS SHOC REAR SURFAC
CHAS DISC FRONT SURFAC

sample data

i have taken measure rowno() as slno (measure).

abhijitnalekar
Specialist II
Specialist II

Hi @nvijay5757 ,

Are you looking for something like below.

 

abhijitnalekar_0-1635331970611.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,

Exactly it can apply entire chart in (Sankey)

when i apply in chart its not working

abhijitnalekar
Specialist II
Specialist II

Hi @nvijay5757 ,

Check the below snap.

abhijitnalekar_0-1635333110795.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,

can you please send the expression

abhijitnalekar
Specialist II
Specialist II

Count(WC)/Count(total WC)

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

Actually i tried the same it is working fine

i am using cyclic dimension (7 Dimensions) when i select on cyclic dimension it is working

if cyclic dimension not selecting then it is not working

4 dimensions (using cyclic 3 dimensions)

Note: my question is without selecting cyclic dimension to display overall % is it possible or not.