Filter context for PIE Chart in Grafana - grafana

Is there any feature present to filter data in dashboard by clicking on one of the values in pie chart??
This can be done with the table visualization. Is it possible for piechart??
for example: Refer pic(red circled part)- If I click on piechart value DE then a filter should be added & applied to the dashboard

Related

Stacked bar chart with tags as Y-axis in Azure Devops not possible?

I try to make a stacked bar chart with Tags as Y-Asis, but does not seem possible, If I flip it and use tags as group by and state as y-axis it works.
Weird, any way around this?
There are two places related to the stacked bar chart.
place 1: Flat list of work items query
But you can't group charts by 'Tags' field
Please see the doc for more details: Create a flat-list query
enter image description here
place 2:'Chart for Work Items' widget in 'Dashboard'
Here you could choose 'tags' both in Y-axis and Group by.
enter image description here
Hope it could do some help.

In Grafana, how to build a data link to filter current dashboard when there is more than one variable?

I'm using Grafana v8.3.4 (a551d74b11)
I've a dashboard with many variables (filters). One of those is for exemple TransactionType.
I would like my charts to filter on click.
For example with a pie chart using TransactionType, I want to filter the TransactionType variable ,when I click in one of the element of the pie chart, by this element.
The closest feature I found is to use data link.
So far I tried in the pie chart the two data link there after.
The syntax is OK but the effect is not doing what i’m expecting.
a)
/d/${__dashboard.uid}/${__dashboard}?var-TransactionType=${__series.name}
For this one the data link apply the filter on TransactionType but clear all the other filters variables, even clear the All, so the dashboard is in error.
b)
/d/${__dashboard.uid}/${__dashboard}?${__all_variables}&var-TransactionType=${__series.name}
this one apply all filters first then add the TransactionType filter but, it keep the previous All value, so the filter become All + value, that don’t work, the dashboard is in error too.
==> Is there a way to keep all the existing variable filter unchanged and replace the value for one variable filter ?
move var-TransactionType=${__series.name} before ${__all_variables}

How to create a pie chart for yes and no answers in Spotfire and not display the Percentage of Yes/No?

I am trying to create a Pie chart as markers in Spotfire map to Show Yes/No answers. How do I do to Display yes and No in pie Sector's instead of Percentage? I am attaching an Excel Spreadsheet with Data with this.
I am expecting to get individual Pie chart for each well in the Spotfire map. For example for WELL_1 Data, the pie chart should have two sectors of two different colors one for YES and one for NO and Sector 1 Should show PRODUCTION, COMPLETION Labels(for yes Category) inside the sector and the Other sector Should show PVT, Image Lables (for no category).
I have tried using the Pie marker option in Spotfire Settings, but not getting the result I am expecting. Any help would be appreciated.
enter image description here.
enter image description here
while Spotfire excels at reading data up and down columns, it's not really designed to read left to right across rows.
you will need to unpivot your table to be tall-and-skinny instead of short-and-wide.
I recommend to start by adding a linked copy of your data table. this way your original table isn't changed, so any visualizations you've already built won't break.
since you haven't specified your Spotfire version, I'll assume you're using 10.x, and my screenshots will reflect that. I'll also be calling your original table Data Table, because I'm lazy and didn't change it in my screenshots ;)
click the + icon in the top left corner
click Other
under "Linked copy to data table in analysis", choose your Data Table
rename the new table to Data Table unpivot to distinguish it, then click OK
from the Data menu, click Transform data...
select Unpivot from the dropdown, then click Insert
configure the transformation
click OK until you get back to the canvas
from the Data menu, click Add calculated column
enter an expression like the following
CASE
WHEN [Category] in ("PRODUCTION", "COMPLETION") THEN "Sector 1"
WHEN [Category] in ("PVT", "IMAGE") THEN "Other"
END
call this column something like Sector
now that you've got the data configured, you can set up the pie chart as needed. here's a sample of that which I put together quickly. I set up the pies on a trellis to illustrate how it might look in your map.

Hide Empty Legend for PIE Chart in Crystal Report

I have a Pie chart with Group expert in my web application. Group expert is based on address and I have two data table in my crystal report Data sources.
One is for Pie Chart input and another one is just for warning message if no pie chart is being display.
All are working fine except for one case. If no record found for pie chart then it displays the empty legend as follows:
I have tried using formula by suppress but its not working.
if Count({AppComp.Type}) = 0 Then False else True

In Tableau, how to pass values to action filters that are not in pie chart?

I am using Tableau desktop 8.1.
I have created a pie chart showing Shift timings and number of employees in each shift timings under different departments.
The pie chart is as follows :
Shift Timing as the "Color mark"
Count distinct employee as the "Angle mark"
I have created an action filter whereby clicking on a shift timing in the Pie chart will display another sheet which shows various details of the employee under that particular shift time.
I have used Action Filter where the field i have passed to the target filter is "Shift Time".But i am not able to add the Department Field as a target filter to the Actions Filter as tableau desktop displays an error "Missing fields on Pie chart".
I need to pass the Department also to the Action filter ( but it is not present in the pie chart) as the user might select Multiple departments from the given list of Departments and the report should show the
My requirement is that if the user selects Shift time (for e.g 9am-5pm) and four departments then upon clicking the 9am-5pm shift in the pie chart should display the details of employees under those departments.I am not able to achieve this because i am not able to pass the Department as target filter into the Action filter.
Thanks and Regards
A little bit difficult to understand without seeing your actual workbook.
If I understand correctly, you want do display a pie chart, and when I click on a segment of the pie chart, you want to display a list of employees under that segment (shift time), but you also want to filter the department.
What I would do is to create a dashboard with 2 sheets, 1 with your pie chart, and one with the employee names/ids (simply drag employee name/id field to the rows and that's all). On the second sheet I would include a filter using department field.
Back on dashboard I would go to the pie chart sheet, click on the gray triangle on the top right, and select "Use as Filter". Then I would go to the other sheet, click the same triangle, go on Quick Filters and select the department filter. And voilà, the user is able to filter departments on the right of your dashboard, and click on the pie segments to select a shift.
Hope it helps
I have another way to resolve this issue.
Dashboard->Action->add action - >