Can filters hide invisibly? - tableau-desktop

I'm very new to Tableau, just creating my third very simple Viz. By adding and deleting filters, I seem to have managed to create an invisible filter and I don't know how to get rid of it. I deleted the dashboard and all sheets but the filter persists somewhere.
In the data-source tab, when I describe the "mix" field it has 6 discrete values as it should. When I look at the table I can see 6 discrete values. But NOW when I create a brand new first sheet and don't do anything else but look at "describe" for "mix" in the list of fields, "mix" only has one value. If I drag it to the screen it shows up with that one value.
Any ideas where I might find this hidden filter?
Thank you.

Aha. I hadn't realized that making an extract of the source data (so that I could put the Viz up publicly) was silently filtered by the filters in place on a screen.
So, unknown to me, my source-data had become "pre-filtered" and of course nothing I could do at a screen level after that could remove that filtering.

Related

Automatically moving data to another tab based on criteria

I have a Google Doc I'm trying to build. It's not this exact book, this all contains fake data, but the gist is the same:
https://docs.google.com/spreadsheets/d/12ebgFNCcRbJfgz6MS5XxcLCEv9vcEGw-0aUJrYmIqec/edit#gid=0
You'll notice that the first tab is called "Master". What I want Master to populate with is any time someone in one of the three sheets has a Grade of "Negative" or the "Follow Up" checkbox is checked off. So this would account for the data currently in the workbook, as well as any future data that gets added.
So the end result would be the "Master" tab looking like the picture below.
Is there a way I can do this?
Upon checking on the sheet you've provided, it seems like you already have the correct formula for getting the data from the other sheets to "master". The only difference with it and your expected output is the checkboxes.
If you want to use checkboxes instead of TRUE/FALSE even in the queried data, you need to put/create the blank checkboxes first on the Follow-up? and Resolved? and the value of those checkboxes will depend on the queried values. Please see screenshot below:
Please let me know if you have other concerns aside from the ones mentioned.

Vaadin grid user column re-ordering and saving per user

How do people tend to let users re-order the grid columns and save that ordering for later?
The only way I can think of to do it, at least in Vaadin 7, is:
Listen for column re-ordering via addColumnReorderListener(…)
When re-order triggered, if user initiated, get columns from getColumns() and save to DB with any identifying information
When pull Grid back up, read grid ordering from DB and apply the same order with setColumnOrder(columns)
So is there a better way to do this? I just checked the Directory, could not find anything obvious to make this easier. Just looking for how others have addressed this user requirement. If Vaadin 14 already supports such actions a little easier, that would be good to know as well, as it might give me some ideas on how to get that ability short term before I can upgrade to Vaadin 14.
For a more customizable grid you can (in addition to what you've already done) add a button that opens a dialog that lists all possible columnnames, together with a checkbox.
Unchecking the checkbox removes the column, checking the checkbox adds the column.
Even more comfortable is when the dialog lists all available columns in a Grid with draggable rows and editable checkboxes, so that the user can show, hide and sort all columns in one place. After that you have to reorder all columns by calling grid.setColumnOrder.
Just so people know how I solved this issue, based on the comments:
When load data into Grid, first check database for columns of this Grid/user combination. If find such a column order, call setColumnOrder(userColumns).
Added 2 buttons to top, one to save column order, one to reset it.
"Save" button only enabled after moving at least one column.
"Reset" button only enabled if at least one column was moved. One column was moved either because of the DB, or because user JUST moved a column.
On save, save to DB. On reset, clear from DB, and reset Grid to original column order.
We chose not to save the column order each time they changed the order, directly in the addColumnReorderListener, because we realized sometimes users might move columns around temporarily, and one really want to save that column order for the future. That said, the saving inside the addColumnReorderListener worked well.
We don't currently need to save the column sizes, as suggested by #Simon Martinelli, but we are keeping it as an idea for the future. I fully expect it would work.

want to name the formula in drop down list

in my original workbook i want to display some values from another sheet for multiple actions.. so i put drop down list for each actions. but when the actions increased i couldn't recognize each formulas. (all of them are import range) so that if i can name each formulas in the drop down then i can recognize fast which action to be performed. here a sample sheet is attached for a solution.. pls take a look. in the dropdown list i included (=a2+b2) instead of that if it displayed as addition in drop down list would be help ful. please take a look.
sorry for my english
Any type of help would be appreciated.
https://docs.google.com/spreadsheets/d/1mpIWyQASMlxRVdlTkv9K1e4oihsrckjT6sD1mLDxvEc/edit#gid=0
If I understand correctly, you want to have a dropdown list menu (from Data Validation) that displays the operation name, but when you click it, it displays just the result.
This is very hacky, but here's a way to create some "labels" in your criteria box:
=IF(;"ADDITION";A2+B2),
=IF(;"SUBTRACTION";A2-B2),
=IF(;"DIVISION";A2/B2),
=IF(;"MULTIPLICATION";A2*B2),
How?(!)
After kicking around some no-op ideas, I finally settled on this as the cleanest and most flexible approach. (By some freak coincidence, it also makes some semantic sense too.) It works because when the first argument to IF is omitted, it defaults to 0 -> FALSE. This effectively makes the second argument to IF a comment/no-op, and always just selects the formula.
Yes, the semicolons are intentional or the parser will think of the args as list items.
Productivity Tip/Footnotes
Sheets will remove any line breaks in your validation criteria, so the formula will be hard to read when you have to edit it. If you anticipate that you'll be adding a bunch of functions later, save the above block in a text file and edit that. Then you can copy+paste it into the validation field.
It will also always show up as "INVALID" because the value will of course never match the formula text.

Automatically updating Data Validation lists based on user input

I have a very large data set (about 16k rows). I have 10 higher level blocks and within each block I have 4 categories (10 rows for each) which use Data Validation lists to show items available in each category. The lists should automatically update based on user input. What I need your help with is that I want to use the same data set for each block and preferably a least calculation/size intensive approach. I have put together a sample file that outlines the issue with examples.
Sample File
Thank you for your help in advance.
Okay, I've found something, but it can be quite time consuming to do.
Select each range of cells. For instance, for the first one, select B3:B18 and right click on the selection. Find 'Name a Range..." and give it the name "_FIN_CNY". Repeat for all the other ranges, changing the name where necessary.
Select the first range of cells to get the data validation, and click on "Data validation", pick the option "Allow: List" (you already have it) and then in the source, put the formula:
=INDIRECT($G$4&"_CNY")
$G$4 is where the user will input. This changes as you change blocks.
_CNY is the category. Change it to _CNY2 for the second category.
Click "OK" and this should be it. Repeat for the other categories.
I have put an updated file on dropbox where you can see I already did it for the data of _FIN for categories CNY, CNY2 and INT and did the one for _GER as well. You'll notice the category of INT for _GER doesn't work, that's because the Named Range _GER_INT doesn't exist yet.

How to handle Append Only text fields in a Sharepoint DataSheet view?

We've created a Sharepoint site to track a process. Eventually we're going to make a workflow out of it, but in the meantime there's a list we all have to look at which lists the various dates each piece is supposed to be finished.
So basically My group needs to see and update columns X, Y, Z and Comments while ignoring the other 30 billion or so columns. Which is great in datasheet view because we can easily view our columns, and update them right there without drilling into the item and browsing through all the other crap we don't need.
The problem is the Comments field, in which we really need to see the last actual comment made. Unfortunately whenever anyone saves the record the field is updated with a blank value (unless they entered a comment) and the last actual comment is lost unless you drill into the item.
Is there some way to get the Datasheet view to show all the entries?
I should also note that I know very little about Sharepoint 2007... so detailed answers would be nice!
Append-only comments are implemented with the version mechanism, so in the Datasheet View you're seeing every row update as a new version of the item with a new comment. In normal data views this logic is handled by the AppendOnlyHistory control. I don't know of any way around this behavior for views that aren't history-aware like the Datasheet.

Resources