Remove Values from Grafana - grafana

I have a scenario like this pic, where I get the status from my hosts.
I have a few dozens of hosts so I would like to apply some filters, like showing only hosts that had problems during certain period.
I found one option, that I used in this example, that is the remove[below/above]value, but it only removes the value itself, not the entire column, the host itself.
Basically, considering this example, I would like this host(second bottom-up), that didn't have 1 value during this last week, did not appear on this screen.
Is there a way? I hope the question isn't very confusing.

The removeBelowValues function removes the values from the serie, but can't remove the serie.
Depending on your data, you can turn the series to rows, then remove rows using "Filter Data by Values" transformation. See https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/#filter-data-by-value
Example:

Related

Tableau | Display different sheets by selecting option(s) from one particular filter

Is there a way to display different sheets by clicking/selecting values/options from one particular filter?
for example, if I have this filter:
and I need to display a sheet named Departments when I select Commercial from the filter shown in the PtrScn.
However, When I click/select any other options like HR, Information ...etc, I want it to display the associated sheet with the filter "Filter by Sector"
Any hints would be highly appreciated!
NOTE: I use tableau 2019.1 and it does not show "Change Parameter" that might be needed to approach this as I noticed when I have been researching for two days now!
You should use a container (say vertical) where you wanna put your N worksheets one on top of the other one without changing vertical spacing: just let Tableau do its stuff!
Be sure to remove the worksheet titles.
Once you're done, you need to create a parameter in order to handle all the N possible choices, and according to that you need to create N Calculated fields with a condition like this one:
if [Param] = 'Profit' then 'ok' else 'ko' end
Each calculated field will be used as a condition (select just ok values) in your filter selection.
Since the parameter can accept just one value a time, you will have just one of your N worksheet displaying data.
And this is the trick based on the vertical conatiner: if you hide worksheet titles, you will see "something" just for the selected worksheet and Tableau automatically will handle all the vertical space in the container.
The result will look like the following:
Adding to Fabio's great answer, these resources about collapsing containers may be useful:
Sheet swapping using collapsing containers
Automatically resize items in a Tableau container (or make disappear in your case)

tableau show categories from calculation even when a category is not visible

I have a calculation and it outputs multiple values. Then I am creating a table on those values. For example, in below data my formula is
if data is 1 then calculation is `one`
if data is 2 then calculation is `two`
if data is 3 then calculation is `three`
as three doesn't really appear in the output, when I create a table, three is not displayed. Is there any way to display it?
I tried table layout >> show empty rows and columns and it didn't work
data calculation
1 one
2 two
Tableau discovers the possible values for a dimension field dynamically from the query results.
If ‘three’ does not appear in your data, then how do you expect Tableau to know to make a column header for that non existent, but potential, value? It can’t read your mind.
This situation does occur often though - perhaps you want row or column headers to remain stable, even when you change filters in a way that causes some to no longer appear in the query results.
There are a few ways you can force Tableau to pad ** or **complete a domain:
one solution is to pad your data to make sure each value for your dimension field appears in at least one data row.
You can often do this easily by using a union to append some extra rows to your original data. You can often add padding rows that don’t impact any results by leaving all your Measure columns null since nulls are ignored by aggregation functions
Another common solution that is a bit more effort is to make what is known as scaffolding data source that is not much more than a list of your dimension members. You can then use that data source as a primary data source with data blending, making your original data source secondary.
There are two situations where Tableau can detect the absence of data and leave space for it in the visualization automatically
for numeric types, you can create a bin field that will automatically pad for missing bins
similarly, date fields can show missing values because, like bins, Tableau can tell when a month doesn’t appear in the data and leave room for it in the view

VSTS - Query Effort Column Not Displaying Values

I am putting together a query on VSTS and want to include the Effort column. I was able to do that but no effort values show up in the column. I do have Effort values entered into tasks. Not sure if it shows a task effort value or gets it from someplace else. Or there is a configuration that hides the values of the column (which would seem reasonable that they would not be selectable - if nothing will be shown).
Peter
That's the expected behavior.
Actually the Effort is a group of the fields, you need to add the specific column of the fields under it to display the corresponding values.
So, just include below columns in the query to display the values:
Original Estimate
Remaining Work
Completed Work

How to get the sum directly with one number?

I'm a beginner for tableau. I want to get the direct numbers for each row, but i get the number which are separate, how can i achieve this?
I've tried the sentence like:count("Implemented"), but I don't get the result I want.
For example, for the 1st row I want 3 10 10
not 111 10 112111111
Here is worksheet.
My code:
EDIT :
here is the photo for implementation opportunities
As you can see, the status is related to the date, I think maybe it causes the records which are counted 1by1.
Now the situation is that: i create the code which is related to the date, if i remove this from mark, it will cause the problem (the code is related to the date), but if i leave it, the system will always count it one by one. My code is not perfect but i can't find another one which can replace it.....
EDIT 2:
in short,what i want is the sum of the remaining opportunity:10
capture
Remove DAY from Mark shelf. That detail is producing those separations.
Attaching a workbook with numbers similar to (but not exact due to proprietary issues) is almost always advised. You will get the right answer a lot sooner than just screenshots.
In any case, it seems as if the measure portion of the visualization is properly being summed by the date. Try selecting the measure, and manually selecting "sum" from the menu drop down. Here is a link for more detail.
Secondly, you can play around with table calculations. Click this link and read up on option 3.

Macro to remove a particular value(s) in cells A2 through A1000

Help!!!
Need a macro that will delete rows based on the value that is found in Cells A2:A1000. The value with either be East, West or Central.
I have used numerous codes that I have found on this and other websites and keep getting either a value not found(run time error 13) or when it seems like its running, it will stay running for 20 minutes with no visible change. This needs to delete the rows fast or its just not worth automating it.
I have a spreadsheet that 3 different planners use to sort there orders. I already have a macro that does the custom sort and paste values for them. However, they are still manually deleting the rows that pertain to the regions that isn't their's.
I also need it to remove the remaining blank rows up to A1000. There are numerous vlookup and hlookup formulas in these rows that are currently being deleted manually.
I can provide a copy of the spreadsheet if needed.