Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to show percentage #2284

Closed
bbhenry opened this issue Dec 12, 2014 · 226 comments
Closed

Option to show percentage #2284

bbhenry opened this issue Dec 12, 2014 · 226 comments
Assignees
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement

Comments

@bbhenry
Copy link

bbhenry commented Dec 12, 2014

Instead of count, please add the option to show percentage especially for the pie chart.

@cfeio
Copy link

cfeio commented Jan 5, 2015

This would be a very useful feature.

@quentinchap
Copy link

+1

@garyelephant
Copy link

+1 for this

@rashidkpc rashidkpc changed the title Option to show percentage in Legends Option to show percentage Feb 4, 2015
@rashidkpc
Copy link
Contributor

I'm going to expand this to add percentages to anywhere it makes sense.

@rashidkpc
Copy link
Contributor

#2785 would like to have this in metric agg too

  • "% total" column in the table visualization
  • "% total" values in the labels, especially for vertical bar and pie chart visualizations
  • "% total" in a single-value widget

@monotek
Copy link

monotek commented Feb 15, 2015

+1

@jettro
Copy link

jettro commented Mar 28, 2015

+1, percentages would be very nice, maybe also stacked percentages:
I would like to create a table like this:

a     10  40%  40%
b      5  20%  60%
c      5  20%  80%
d      3  12%  92%
e      2   8%  100%

@pietrom
Copy link

pietrom commented May 14, 2015

+1!

@Fattybeej
Copy link

+1

3 similar comments
@rafecolton
Copy link

+1

@antonKalinin
Copy link

+1

@pickworth
Copy link

+1

@markwalkom
Copy link
Contributor

+1 (for me) and;
+1 for a customer :)

@srishaharidas
Copy link

+1

10 similar comments
@yehosef
Copy link

yehosef commented Jul 13, 2015

+1

@shumkov
Copy link

shumkov commented Aug 4, 2015

+1

@novozhenets
Copy link

+1

@jonnybazookatone
Copy link

+1

@jomar83
Copy link

jomar83 commented Aug 12, 2015

+1

@fredcido
Copy link

+1

@rajatjindal
Copy link

+1

@deepvoice
Copy link

+1

@dirkschneemann
Copy link

+1

@ajays1991
Copy link

+1

@GrahamHannington
Copy link

+1

My use case:

Each of my Elasticsearch documents represents a transaction. If a transaction "abended" (abnormally ended), the corresponding document contains an abend field; otherwise, the abend field is missing. The value of the abend field is a code that identifies the type of abend.

I want a metric ("one big number") visualization that shows the percentage of transactions that abended: that is, the percentage of documents where _existing_:abend is true.

@usercancel
Copy link

+1

@gitmich
Copy link

gitmich commented Jan 9, 2018

+1

@ppisljar
Copy link
Member

ppisljar commented Jan 9, 2018

i am closing this ticket as percentage mode is supported in:

  • pie chart
  • line, area, bar, horizontal bar
  • metric, goal, gauge
  • visual builder table (and other charts in visual builder)

please open a separate (more specific) issues for all the problems that are still there.

@ppisljar ppisljar closed this as completed Jan 9, 2018
@Olummy
Copy link

Olummy commented Jan 18, 2018

@mseka1 can you please granularize the steps you took. I have created the scripted field but don't seem to have the same result as yours.

image

@agarwalshivam456
Copy link

@mseka1 I have created scripted field but it's not matching the field value and return 100% only unmatched value.

can you please help me out here.

@Olummy
Copy link

Olummy commented Mar 19, 2018

@agarwalshivam456 I had a similar experience after creating the scripted field. I couldn't bucket the values so all return 100%. @mseka1 please help out.

Thanks.

@mseka1
Copy link

mseka1 commented Mar 26, 2018

i will help you guys @agarwalshivam456 @Olummy set up a zoom meeting email me the meeting id [email protected]

@arunkspkm
Copy link

arunkspkm commented Jun 7, 2018

@Olummy @agarwalshivam456
Try changing your scripted field format as Percentage. It works for me.
image

@Olummy
Copy link

Olummy commented Jun 7, 2018 via email

@JZ-SmartThings
Copy link

JZ-SmartThings commented Jun 14, 2018

Current enhancement is housed here: #19489

@sahroni61212
Copy link

@hanzohan , i want install plugin percent metric in kibana. but i use windows 7 in my PC.
can u help me? how to install this plugin in windows 7

@rafivp
Copy link

rafivp commented Oct 26, 2018

@mseka1 I might need your help.
I tried to create the scripted field but I haven't been able to effectively create the scripted field, do you detail the calculation when created it? I am a bit lost, every little help will do.

Thanks!

@poloxue
Copy link

poloxue commented Oct 29, 2018

+1

@poloxue
Copy link

poloxue commented Oct 29, 2018

I want a table like:

a 10 40%
b 5 20%
c 5 20%
d 3 12%
e 2 8%

@drakkhen
Copy link

Give up and use Splunk.

@burcube
Copy link

burcube commented Feb 4, 2019

+1

@funbrain
Copy link

funbrain commented May 7, 2019

Give up and use Splunk.

Splunk is expensive...

@vinhngx
Copy link

vinhngx commented May 14, 2019

+1

1 similar comment
@RuBiNaLDo
Copy link

+1

@alamsyahho
Copy link

+1 i really need this feature as well

@jbellina
Copy link

I was able to accomplish this using the datasweet formula plugin, it’s worked out great for us. See the full list of plugins here:

https://github.com/robcowart/kibana_plugins_list

@ShellySingh1
Copy link

Hello,

I am new to Kibana. I am using Kibana 7.4. and I am unable to figure out a way to show percentage and count for my simple bar graph. I could independently show either the percentage or the count on the bar chart, but not both together.
There have been some ideas about scripted fields, but I wanted to ask if even now, with Kibana 7.4, that's the only option. If you know of simpler options, please share. If not, any guidance on scripted fields will be much appreciated too!.

Thanks

@minoru-nagasawa
Copy link

I solved by this plugin.
https://github.com/fbaligand/kibana-enhanced-table

It allow us to add the calculation columns like "col['Count'] / total['Count']" .

@JZ-SmartThings
Copy link

I think this was fixed/enhanced in 7.4... see this new feature in my screenshot... however, thanks for sharing that nice plugin @minoru-nagasawa!

image

@EllandeBarthelemy
Copy link

EllandeBarthelemy commented May 15, 2020 via email

@minoru-nagasawa
Copy link

Thank you. Thanks to the image, I was able to find it.
@JZ-SmartThings

@JZ-SmartThings
Copy link

My pleasure @minoru-nagasawa --- I also truly appreciate your post because that percentage column is great but it's not enough for my needs, it's barely the beginning. I was trying to do more math and the plugin you suggested is very cool. I can't wait to try it... I may finally be able to predict/verify my power costs without my fancy Excel spreadsheet that I copy and paste Kibana data into. Here's an example below... and your suggestion gets me much closer to the long term desire I've had.

image

@yaseralimardany
Copy link

Kibana 7.9 does not support this yet. any idea?
I want a table like:
a 10 40%
b 5 20%
c 5 20%
d 3 12%
e 2 8%

@vk036968
Copy link

vk036968 commented Sep 7, 2022

Is it possible to add a checkmark to display "local" (to the panel) percentages?
image
image
38.42% + 22.56% + 39.02% = 100%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) release_note:enhancement
Projects
None yet
Development

No branches or pull requests