Tableau dashboard action unresponsive - filter

Workbook is on Public Tableau
I'm using one drop-down, which is a calculated value (refer previous question) to control map, and two worksheets.
When I toggle through the filter, only the relevant location appears on map, while the other two worsheets do not change, i.e. they show all locations.
How to fix this?
Thanks once again!

To get tableau Action revealed on another data.
Step1
Go to Dashboard > Click on icon dashboard > Click on Action > Select Add Action > Filter and follow further steps as per given as
Step2
Click ok in action and you will get desired results
Step3
In your Dashboard Filter which is
select the icon and follow steps further which is describe below :
This will get desired results as per your requirement.
Result: your result will look like this example as given as

You can't filter multiple worksheets with a table calculation (your intuition about why is exactly right). BUT we can do something sneaky again.
First, create a parameter to replace your quick filter. Let's call it "Choose Location". Make the data type "String", then select "List" from Allowable Values. Go to "Add from Field" and select "Location (Loc)". Your parameter will now allow you to select from a list of all the different values of [Location (Loc)].
Since you want to be able to show all of the locations at once, also add "All Locations" to the parameter's list of allowable values (I put it at the top of the list because that's what my heart said to do).
Next, create a calculated field. Let's call it "Choose Location Filter".
IIF([Choose Location] = "All Locations", TRUE, [Choose Location] = [Location Filter])
This statement will return TRUE if the Location on the given row of the partition is equal to the Location selected in the parameter and FALSE otherwise. If you've selected "Multiple Locations", it will return TRUE for all rows. Note that we're still using the [Location Filter] that you made so that we can maintain all locations in our partition and calculate that Grade.
Now, in every worksheet, replace the [Location Filter] in your filter card with the [Choose Location Filter] field. Filter out the FALSEs, leaving only the TRUEs. Place the parameter control on your dashboard and use that to filter instead of the quick filter you built previously.

Related

Trying to get Tableau parameter to recognize filters applied

I have a dashboard with two worksheets. One of the worksheets is a bar chart with just one dimension, Model Name. I've added a Top N parameter to it, set to display only the Top N highest priced items.
The other worksheet is a bar chart at a higher category level, and I'm using that as a filter for the other. So when I click on one of the categories, the other worksheet should display the Top N items for that category. But, when I click on a category, the other bar chart goes blank. My thinking is that the parameter is applying to the entire dataset, and not recognizing the filters applied.
I've tried changing the filters to context, but that hasn't rectified the situation. Is there a way that I can get the parameter to recognize the active filters?
If you want the filter to be evaluated first, you can do that by right-clicking on the filter item and select "Add to context."
For more, see Tableau's "Use Context Filters".

Convert a specific cell into a column Power Query

I want to populate a new column with a specific cell using Power Query exactly like this:
from this -->to this
This task has been taught here: https://exceleratorbi.com.au/convert-a-cell-value-into-a-column-with-power-query/
but I start with a structured table within the worksheet and so the Power Query only reads the table, leaving out the specific cells that I need (which are B2 and B4), as displayed here.
Excel
Query
So how can I do the same thing?
Here is a complete example, starting with a worksheet like this:
Click on the specific cell containing the value with which you want to populate a new column (B2), enter a name in the name box (cellCategory), and press Enter. Right-click the cell and click on Get Data from Table/Range... which opens the Power Query Editor.
Open the Advanced Editor, delete everything, enter this line of code and click on Done:
Excel.CurrentWorkbook(){[Name="cellCategory"]}[Content][Column1]{0}
Named ranges that are loaded in Power Query are automatically transformed to a table. In the line above, [Column1]{0} accesses the value located in Column1 at row index 0 of that table which contains a single cell. So now you have a query that returns the content of that cell.
If your main table isn't yet loaded to Power Query, return to the worksheet, right-click on your table and click on Get Data from Table/Range....
Now, as shown in Step 5 of the linked tutorial, go to the ribbon tab Add Column, click on the button Custom Column, and add a new column named Category filled with the cellCategory query value by entering cellCategory and clicking on OK:
Here is the result:

How to click on Web Table column's Web Button in following case?

I have one web table, in this I want to delete particular record by clicking on record's delete button.
I got the value of row but I am not able to perform click on web button of particular row and also there is 2 buttons in one column.
How to click on delete icon of particular row?
You need to set a reference to the item within the specific row and then click on it - something like this:
Set oLink = Browser("myBrowser").Page("myPage").WebTable("myTable").ChildItem(iRow,8,"Link",0)
oLink.Click
You will potentially need to amend the "Link" and the number 8 in your own code. iRow represents the row you are trying to interact with.
Essentially what this code does is set an object reference to the first item of type "Link", in column 8 of the table, then uses a Click event to select it. If your delete icon is a WebButton, then replace "Link" with "WebButton" for example. The final 0 in the command tells UFT to select the first element matching the object type - you might need 1 if your two icons are in the same column of the table.
Let me know if that helped.

How to apply Calculation In Interactive Grid Between 2 Columns

I want to apply Calculation on two Columns in Interactive Grid that calculated value want to store in third non database column
In the Below Image I want apply calculation on "QTY" and "Rate" and the Value store in Amount that is Non-Database..
Click on the Actions Button - Format - Compute, which will bring up a dialog to edit the calculation (note column names are referenced by the alias letters listed in the dialog). After you get the calculation the way you like it, you can save it for next time with Actions - Save Report. If you are logged in with developer access you can choose to save as "Default Report Settings" so that everyone gets your update as the default report. Otherwise you can save to a named report that you just see on your login.

Spotfire DropDown list to filter entire page?

I have been desperately trying to figure out how to take a column, customer name, and be able make a drop down list that filters the entire pages visualizations so that when you have a specif customer selected it filters everything.
I think I'm going down the right path my creating a property type string and setting it to unique values in that customer name column, but cant seem to figure out what to do next. Even if i have to set it individually for each visualization that would be fine, but i cant seem to get this to work.
Can someone help me figure this out?
I'm on spotfire 7.0 if that matters. Thanks
Thank you in advance.
#TPLEE - In order to apply filter to the visualization from the selected drop down, you have to insert the below case statement in 'Limit data using expression' section of the visualization properties as shown below.
Right click on the visualization and go to properties.
Click on edit as shown in the picture and insert the below case
statement and click 'Ok'.
Note: 'YourCOLUMNName' will be your column name from the data table that you are using and ${CustomerName} is your property control name
case
when "${CustomerName}"=[YourCOLUMNName] then true
when "${CustomerName}"="" then true
else false end

Resources