Direkt zum Hauptbereich

How to use polygon diagram as a filter?

One a day I got to know a gay who created a polygon diagram and use that as a filter. I was very impressed of that and wanted really to rebuild that one.
See my workbook here


So how to do that?

- First of all I cheesed a picture. I decided to take a shop square plan. Click right to the picture you cheesed and go to "Features" - "Details"

- Remember wider and higher
- In order to open this picture with tableau, I created a Google sheet with this two coordinates:

In order to open this file with tableau you should go to:
- Maps
- Background Image
- Import
- And fill details as on the example below




- Press "OK"
- Drop the X axis to column and the Y axis to the rows - and you will get this picture


 - Now I want to show some departments on this picture, like where customers can find some kitchen equipments, books, games etc. In order to highlight the area, you have to mark some points on it

- Choose any point on the picture and click right
- Add a note
- Point
- X, Y coordinates will appear on the picture. Put this coordinate in to the Google sheet. 

I highlighted some areas and created follow data set: 

In the first column you see different department. In order tableau diversify 4 points per section I added the second column where I separated this points using a trick. I classified one department in to a,b,c and d. With this data set you will be able to create a polygon diagram.

How to create a polygon diagram? 

- Drop the "Store department" to the color
- Drop the "Interlingua" (second column) to the details and you will get this graph: 



 - Put "Store department" to the filter or just use the whole sheet as a filter. It is all up to you now. 

Statement

With this graph I had some difficult. First of all it was hard-going to create separate departments because as soon as I marked some points I get a square sign of eternity. I could understand why?. 
Another challenge was to place the points exact to the area I want to highlight. You can see e.g by books or music department. I was unable to create the biggest department on the bottom part of the graph. Even if I mark more than 4 points per department. But I work on this problem. And will share the solution as soon as I get some answers. 

If you have some questions left, don't hesitate to ask me. 



Kommentare

  1. Wow great google sheet add on, this tool will help me alot to generate reports. My Clients will be happy with my this effort. Thank you so much

    AntwortenLöschen
  2. Great Article. your writing style is too good, its is very very helpful for all of us and I never get bored while reading your article because, they are becomes a more and more interesting from the starting lines until the end.
    Tableau online training

    AntwortenLöschen
  3. Thank you so much for sharing this worth able content with us. The concept taken here will be useful for my future programs and i will surely implement them in my study. Keep blogging article like this.
    Tableau Online Training|
    SAS Online Training |
    R Programming Online Training|

    AntwortenLöschen

Kommentar veröffentlichen

Beliebte Posts aus diesem Blog

Tableau Table Calculation Function: WINDOW - Functions

The functions which begin with „WINDOW_...“ are also common used in Tableau. Remember! The “WINDOW_” function stays for the offset in data set, so-called WINDOW. It can look like this: 1) You can see the “WINDOW” clearly because of separation line between rows: 2) You limit the “Window” by giving the information about the first and the last row number. In this case, you give Tableau the information about the data offset. Let's have a look at the example with WINDOW_SUM I created a sample with data from Superstore. I would like to have a total sum of Sales in every row. In order to do this I created a calculation field: WINDOW_SUM(SUM([Sales]), FIRST(), LAST()) With this formula I said to Tableau: “Hey Tableau, calculate the total sum of sales from the first till the last row in the data set” And this is the result: Tableau wrote the result (total sum of Sales) in every row. As another option you can cumulate the result in each row and...

Tableau Number Function: ABS

I have been working with Tableau since 2014, but I have still a feeling that my knowledge about this software not good enough. When I rebuild dashboards from tableau.public I am fascinating how some people can create amazing formulas and thus it makes the calculation of data sets easier. Sometimes I got stuck by creating of graphs and I do some calculations with data in Excel before I visualize them. Otherwise, you can find the definition of every function by creating of calculation field. But, honestly, are this definitions always clearly enough? For me not and I am done by doing long calculations with Excel. 😠 I like my work and I want to have more fun and not do such long calculation with Excel! I took up a challenge and decided to go through every function in tableau in order to understand how they work.  I would like to begin with ABS function.  ABS function is very easy one, as it used to get an absolute value of a number from a negative one. As an examp...

Level of Detail Expressions (LoD) in Tableau: FIXED

The last keyword of LoD I am talking to is FIXED. Remember! By the function INCLUDE we included some numbers into the calculation even though we don't visualize this number. By the function EXCLUDE we exclude some numbers from the calculation even though we visualize them. With the function FIXED we “freeze” some numbers in our calculation, i.e. we can run calculation of all art, but the “fixed” dimension remains unchanged. This is the structure of FIXED function: With this function we can e.g calculate a frequency of customer's orders, calculate unique customers from month to month as the cumulative value etc.. Let us have a look to an example, where we analyze sub-categories: I created a simple cross table with the data from Superstore: I would like to see this numbers in a hint text, if I analyze sub-categories. I created a stucked bar chart, which shows sales in each region. I also highlighted sub-categories with different color, as I would ...