Show Two Groups in Tableau Heat Maps - graph

I’m relatively new to Tableau and have a question.
I want to create a heatmap show the location of two different groups of people. I’ve learned how to overlay maps using dual axis but the problem I keep running into is that each group requires different filters to aggregate the data the way I want.
Basically, I want to show:
Group1.id IF charge_id IS NOT NULL
And
Group2.id IF status = ‘ACTIVE’
Whenever I create a calculated field with one of the above calculated fields and place it in the filters box it automatically removes the other group from the map because the filters contradict one and other.
Help is much appreciated 😊

The filter shelf applies to the entire worksheet, so if you want to “filter” each field selectively, use an IF expression in a calculated field that evaluates to null when you don’t want that field in the view.
Give sample data if you want more detail

Related

Tableau---Getting count from 2 different data sources and combining into one total

I am a tableau newbie and am trying to see if this is possible or not. I have 2 separate data sources where the same employees are listed, one is for closed cases and the other is for open cases. These data sources have some of the same columns, but for the most part they are different.
Is it possible to aggregate the case count for each employee on the closed and open data sources into a single column? For instance, if an employee has 50 closed cases and 23 open cases, I want it to show 73 for them.
I attempted to play around with the joins/unions but these didn't work properly and duplicated the data most times.
I think this is a great chance to leverage blends.
I have created a workbook with the Sample Superstore Excel dataset. This dataset has three sheets. I'll use the Orders and Returns sheets to demonstrate how we can calculate the net orders using blends.
The dataset I'm using can be found here.
Start by connecting to both the Orders and Returns separately. Once done with this step you should see the two data sources at the top of your data pane.
In this example, I'll calculate the Net Returns by Category. In your case, you're after the Total Cases by Employee, so just imagine Employee in place of Category.
Next, drag Category from the Orders data source onto the view, then select the Orders data source and click the chain icon to blend on Order ID.
You will need a common column between the two tables in order to blend.
Once blended I'll go back to the primary data source (indicated by the blue check mark) and create the Net Orders calculation.
This calculation uses the dot notation - similar to what you might see in SQL - to reference our other table.
To double check that our calculation is working properly, we can drag the components of this calculation onto the view and do the math.
Of course, once you are satisfied you can remove all but your blended calculation.
Blending isn't ideal in most cases but you could try it. Bring in each data source separately and "join" them within your workbook pane on Employee or hopefully an Employee_id. Click the little chain once you have them both loaded and you are on a worksheet tab. Then you could sum the counts by employee. Blending sometimes presents some issues with calculated fields across the two data sources but this is what I would try first.

JavaFX graph with dynamic data entry

I am trying to code a graph that plots a curve based on an equation. The goal is to allow the user to enter as many (editable) numeric values as they would like in a GUI that would then plot the graph on the same scene.
I am currently using multiple TextField() and looking into using a table view but it does not seem to be the answer.
Is there another possibility other then TextFields or table view that would allow the user to enter possibly unlimited amounts of data?
Try a ScatterChart. You have to define the axes and the collection of value-pairs (usually done in an ObservableList).

Kibana : How to dissociate a visualization from timepicker

I have a Kibana dashboard with some visualizations and each visualization changes when i change the time window. Is there a way to display a visualization that does not change and stays fixed? For example, i want to display the total number of records present in my index. Now i have this in a nice dashboard. I only want this number to change if the actual number of records changes. Otherwise, I want it fixed. Is that possible?
You can use a second index pattern for that. It is a kinda hackish solution but it works.
Create a new index pattern. Configure it just like your regular one, but uncheck "contains time-based events". This way you will get an index pattern where the time picker doesn't apply.
Create your visualization from this second index pattern.
In case you want a certain fixed time range to apply: Add the time range as a normal filter in the query for this visualization.

Drupal - Auto Weight

Is there a way to automatically set a weight to nodes in Drupal? I am wanting to achieve this, because I am creating a blog layout and I want the most recent articles to appear on the top of my secondary menu rather than on the bottom.
By trying to sort by a dynamically iterating weight field, you're adding complexity to something that is really quite straight forward. This scenario is best handled by sorting by the created, or updated date of the node. I mean, by definition, that will allow you to sort by the most recent article. Heck, even sorting by the node ID would be better, since you have a value that's automatically increasing for every item that's created.
A weight field should only be used when sorting needs to be empirical, like a todo list or something. If you're using a weight field because you want to adjust the sorting of an article later on, you would still get the desired result by sorting by multiple columns (i.e. weight ASC, created DESC).

Can't seem to find how to create a fact table

I'm trying to design a cube with iccube and following the walkthrough, I can't seem to be able.
In the walkthrough (http://www.iccube.com/support/documentation/user_guide/walkthrough/walkthrough.html) when creating a dimension, there is in the picture the "Is fact indexing" option available. But, when I' trying to create a multidimensional dimension, with any table, the option is never shown. The one I have are:
Name*
Table*
Unknown member
Time dimension
Default time dimension
Is indexing by range
So, when I get to add the cube, it only has the calc measure section.
Thanks!
Nicolas, the option 'Is Fact Indexing' is no more available that way. To reply to your question, once you've created a cube, you need to add some Facts (see the icon on the right side when hovering over the newly created cube). Those facts are also called 'Measure Group'. A cube can have one or more 'Measure Group'; each group being attached to a table.

Resources