Direkt zum Hauptbereich

How create a calender with tableau?



I posted a calendar to tableau public, which I have done with Tableau 9.3.

In my first blog I would like to share with you the steps for creating a calendar. The data sources and calendar you can find here.

There are different reasons to use a calendar in tableau e.g.

  • You can create your own calendar with an individual format and a lot of appointments. So it will help you make planning better. 
  • You can also analyze things with calendar, if you drop&down a relevant dimension in order to show successful or not successful days. 
  • To create such things is just a training and will help you use dimensions&figures on another way.

And thi is my approach:

I created a spreadsheet in excel with three columns:

  • Date 
  • Type of holiday 
  • Holiday



The column "Type of holiday" is necessary in order to make differences between private and official holidays. With the spell "C" I marked all private birthdays and with the spell "F" all official holidays.

In the column "Holiday" I described the holidays.

  • Go to Tableau and open you excel source. Duplicate the "Date". 
  • Draw both dimensions to the column and change the formats

a) Year to Month/Year [Right click on the dimension and choose "user-defined"]

b) Year to Weekday



  • Drop "Date" and "Date (Copy)" to the row and change the format

"Date" to "Week"
"Date (Copy)" to "Week"

"

  • Drop "Date" to the "Text" and change the "Year" to "Day"
  • Change the format of graph to "Square"



  • Now put "Date" to the "Filter" and chose only one month
  • Right click on the "Date" in the row and deactivate a hick by "Display header text"




  • Change the size and the colour as you wish


I hope it was helpful for you. Let me know what is for do you use the calender in tableau....


You can also create the whole year as a calender on one page. Check out this video and this blog post.
Best regards


Kommentare

  1. Hi friend iam providing thetableau training of various certification training.

    AntwortenLöschen
  2. Thanks for your informative blog!!! Your article helped me to understand the future of Tableau. Keep on updating your with such awesome information.

    Tableau Online Training

    AntwortenLöschen
  3. the article provided by you is very nice and it is very helpful to know about the tableau..i found a article related to you..once you can check it out
    Tableau online training

    AntwortenLöschen
  4. That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
    Tableau Online Training|R Programming Online Training|SAS Online Training

    AntwortenLöschen
  5. Hello,
    Thanks so much for writing this article. This is probably the best one by far. Easy to understand. Thanks a lot really appreciate you sharing with us. The information you provided is very helpful for Tableau Advanced Learners.


    AntwortenLöschen
  6. Excellent website. Lots of useful information here, thanks in your effort! . For more information please visit

    Tableau online training india

    AntwortenLöschen
  7. Hello,
    Your blog has a lot of valuable information regarding Oracle Exadata. Thanks for your time on putting these all together.. Really helpful blog..I just wanted to share information about
    power bi 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...

I want to understand RegEx! (Part2)

It is already two weeks ago since my last blog post. This two weeks I spent in Scotland. It is a very beautiful country with unforgettable landscaps. However, it is not the topic I want to talk about. In this blog I will continue the topic about the RegEx and its using in Tableau. Tableau offers you four different uses cases of RegEx: REGEXP_EXTRACT If you have data like this: aspirin_20_mg_oral_tablet and you would like to extract onliy 20_mg. What I do is I check my RegEx on this web site: http://regexr.com/ If it is ok, put this RegEx in Tableau function: REGEXP_EXTRACT([0-9][0-9]+[_]+[a-z]+) and extract all "20_mg" REGEXP_EXTRACT_NTH The same like the function before but here you can limit your extract to Nth index. Image you have data like this: aspirin_20565435 and you want to extract only "aspirin_20". So your formula should be: REGEXP_EXTRACT_NTH([a-z]+[0-9], 2) REGEXP_MATCH It is very easy one: Using REGEXP_MATCH we can find if ...

Tableau's Attribute Function ATTR()

There are a lot of blog posts about this function. However, for me the best one was written by Tim Costello. You can find the post here. ATTR comes from Attribute. An attribute is a specification that defines a property of an object, element, or file. It may also refer to or set the specific value for a given instance of such. If you take a look for Tableau Online Help , then you can find this definition: Tableau computes Attribute using the following formula: IF MIN([dimension]) = MAX([dimension]) THEN MIN([dimension]) ELSE “*” END I would say this is the main logic of ATTR function. With this formula you can understand how the ATTR function works. In simple words ATTR returns a value if it is unique, else it returns * Check out this links for mor examples: Drawing with numbers Powerful &Misunderstood: Tableau's ATTR Function Using ATTR Function It would be gerate if you share your examples of using of ATTR's function. Thank you!