Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to show data in %

hi i have a bar graph in drill down .

first dimension is month and second is airline .

when i drill down that  then airline wise revenue is coming .

i'm using sum(data)  expression.

i just want it will show revenue airline wise and  % share of revenue in total month revenue.

could you please help ???

like this i want to show

15 Replies
alexandros17
Partner - Champion III
Partner - Champion III

try this

Sum(data) / Sum(total <month> data)

let me know

Not applicable
Author

no this is not the solution.

there should be some expression that will show data and percentage..

as u r seeing in graph i showed.

Not applicable
Author

please help?

MayilVahanan

Hi

Try like this

= Sum(Total1) & '  '& Num(Sum(Total1) / Sum(total [Total1]),'#.##%') &''

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
alexandros17
Partner - Champion III
Partner - Champion III

So your problem is not How to compute but how to show value and percentage

If this is correct, I tell you that this is not possible because you have no control on value on data points ...

Not applicable
Author

both are my problem ..  this is not working

alexandros17
Partner - Champion III
Partner - Champion III

Could you send your document?

Not applicable
Author

Hi ,

Any  solution for this ??

its_anandrjs

Use Dual function for this. See with small example to understand

Load * inline

[

Customers,Sales

Ghanna,152450

Jersey,154702

Newzealand,45826

];

And on the chart

Dimension:- Customers

Expression:- Sum(Sales)

Expression:- Dual( Customers & ' - ' & sum(Sales),

                               Sum(Sales) / Sum(TOTAL  Sales)  )