ad

Tableau Number Functions Assignment for Beginners

Here I am coming with assignment on Tableau number functions. This is very basic and fundamental assignment for beginners. Almost every body know functions in tableau. Lets see how they learned and understood.

After several posts I understood that people are more interest in solving problems and learning from them. It will add taste to learning process. So I decided to post assignments and challenges. I would like to initiate the thought process in their mind while solving this assignments and challenges. So that they will improve their self learning capabilities. Giving solution to problems is like temporary fix. After few days you may forgot solution. But Solving problems will stamp the process for long time. I am just feeling this is new way of teaching people.

Question 1:

I have Region wise Profit like below

Region   Profit
East         50
West      -20
South      30
North     -15

I want to show bar chart Like Below



What function you will use while making above chart?



Question 2:

I have data like this

Items     Cost
Item1      5.125
Item2      1.890
Item3      4.578
Item4      6.009

I want to show output like below:

Items     Cost
Item1      6
Item2      2
Item3      5
Item4      7

What function you will use to get above output?



Question 3:

I have data like this

Items      Cost
Item1       7.135
Item2       4.999
Item3       8.011
Item4       5.875

I want to show output like below:

Items      Cost
Item1       7
Item2       4
Item3       8
Item4       5

What function you will use to get above output?



Question 4:

How you will get Quotient and Remainders in Tableau?

55(Dividend) ÷ 9(Divisor) = 6(Quotient) and 1(Remainder)

See below examples to understand more:

13/5 will give Quotient: 2 and Remainder: 3

21/5 will give Quotient: 4 and Remainder: 1




Question 5:

What function you will use in Tableau to get 5^3 = 625?



Question 6:

I have Sum(Sales) like this: 50.1234 but i want to show only 50.

Which function and how you will use it to get this output?



Question 7:

I have Sum(Sales) like this: 6789.2345 But i want to show like this 6789.2.

Which function and how you will use it to get this output?



Question 8:

I have number like this: 12345 but i want to truncate this number to 12340.

Similar way Truncate above number to 12300.

Which function and how you will use it to get above output?



Question 9:

How to convert NULL values to Zero in Tableau?



Question 10:

How to Find Square Root in Tableau?

Example: Square Root for 625 is 25.



Question 11:

I have data like this

Items      Cost
Item1      5.125
Item2      1.821
Item3      4.572
Item4      6.019

I want to show output like below:

Items     Cost
Item1     5.120
Item2     1.820
Item3     4.570
Item4     6.010

What function and how you will use it to get above output?



Question 12:

I have Customers and Profit like below

Customers        Profit
Suresh                50
Ramesh             -20
Mahesh              40
Kishore               0
Rama                  0
Kirshna            -10

I want to show report like below:

Customers     Profit      Indicator
Suresh               50                1
Ramesh            -20              -1
Mahesh             40                1
Kishore              0                 0
Rama                 0                 0
Kirshna            -10              -1

What function you will use to show indicator column?

Do you feel that you are Tableau Expert? Then try this challenge 6

Here I am coming with real time challenge. Those who are interested can try this and test your knowledge.

Initially some body asked me to post real time challenges. I am getting good responses to these posts. These challenges are to test your knowledge. I am not challenging anybody here to solve. I am just alerting people by using sentence “Do you feel that you are Tableau Expert?”. If really solve my challenges you will become expert definitly. How you are thinking is very important while solving challenges.

Here we go with one more challenge:



In Above image at bottom, you are seeing 1,2,3….. 17. These are Number of Orders by Customer.

Color Indications:

Blue – Number of Customers does not return any Order. Means Zero Order returned.
Green – Number of Customers who returned only 1 Order.
Red – Number of Customers who returned only 2 Order.
Purple – Number of Customers who returned only 3 Order.

Explanation 1:

Now lets take bar which is showing 1 at bottom of the image.
Assume that 100 Customers placed only one Order. In that 100 Customers 92 people not returned any Order. But 8 People returned one Order.

Explanation 2:

Now lets take bar which is showing 12 at the bottom of the image.
Assume that 100 Customers placed 12 Order per each Customer. In those Customers 39 people not returned any Order. But 39 people returned only one Order, 17 people returned only 2 orders and 6 people returned 3 orders.

Explanation 3:

Now lets take bar which is showing 17 at the bottom of the image.
Assume that 100 Customers placed 17 Orders per each Customer. But non of them were not returned any Order.

Note: Please download the Data from below link to solve this challenge. If you use this data result should match with above image.

ClickHere to download Data


For more challenges: Click Here

Do you feel that you are Tableau Expert? Then try this challenge 5

Here I am coming with real time challenge. Those who are interested can try this and test your knowledge.

This is not expert level challenge. People are showing interest to solve these challenges. So I am just posting intermediate level challenge.

See below image:



In above chart I am showing % of unprofitable Customers in each State.

For example:

In “IllinoisState 57% of Customers has Profit less than zero.

Lets assume in “IllinoisState 100 Customers are there. In that 100 Customers, 57 Customers has Profit less than zero.


To Solve this challenge please download below workbook:




For more challenges: Click Here

Do you feel that you are Tableau Expert? Then try this challenge 4

Here I am coming with real time challenge. Those who are interested can try this and test your knowledge.


This challenge may look simple but once you solved this you will understand complexity.

I want to show chart like below:


In Above chart I am showing Number of customers who has profit ratio (ratio of profit vs sales) less than Yellow Threshold as red color, who has profit ratio between Yellow Threshold and Green Threshold as Yellow color. Finally we has profit ratio greater than Green Threshold as Green color.

Note: Yellow Threshold and Green Threshold are parameters created to change according to user requirements.

So in above Chart,

155 customers has less than 0 (-ve) profit ratio.
387 customers having profit ratio between 0 and 20.
251 customers has profit ratio more than 20.

Total 793 which shown in center of the Donut.

Please look at below images for more examples:

Example 1:

Example 2:

Example 3:


















To Solve this challenge please download below workbook:




For more challenges: Click Here

Do you feel that you are Tableau Expert? Then try this challenge 3

Here I am coming with real time challenge. Those who are interested can try this and test your knowledge.

I have two dashboards in one workbook. See below.


Master Dashboard:

Detail Dashboard:




















































Now the challenge, you need to select more then one value in Master Dashboard and then click on Right Arrow then it should navigate to Detail Dashboard.

Detail Dashboard should filter according to Master Dashboard selection.

Please follow below steps to understand more.


As shown in above image select 3 values by pressing Ctrl and click on Right Arrow.
Then it should navigate to Detail Dashboard.

Detail Dashboard should look like below:


In above image, Detail dashboard filtered by Region and Category which you selected in Master Dashboard.

Look at below images for more examples:

Example 1:



















Example 2:





















For more challenges: Click Here

Tableau 9.2 New Features

I know this is very late post. 9.2 released long back but I don't have time to post in detail about all new features. I just copied content from tableau site and posting here for my tracking purpose. You can see original post with below reference link.

Reference: Click Here

Tableau Desktop:

Mapping:

Dive deeper into your geographical analysis with new mapping data and formatting options.

Mapbox:

Integration with Mapbox gives you the ability to build gorgeous map backgrounds and add layers and context. Build the map your data deserves.

If you dont know how to integrate Mapbox please find links below.




Map Data:

Tableau 9.2 comes with more geographical data built in, including updated US congressional districts, local name synonyms for world capitals, Japanese postal codes and more.



Map Option Dialog Box:

Customize how people interact with your map with the new Map Options Dialog.
Change display options for pan and zoom, map search, and the view toolbar.


Visual Analytics:

Answer questions of your data with expanded visual analytics capabilities.

Hierarchical Treemaps:

Treemaps now show hierarchical data, by introducing borders around the first level of grouping.



Totals:

Put totals and subtotals where you want them: top or bottom, left or right.



Label Options:

Match label colors to mark colors for at-a-glance understanding. Specify which marks are labeled with the new “Most Recent” option.



Web Authoring:

Go to Sheet:
Access sheets directly from your dashboard, using the new Go to Sheets button.

Data Pane Update:

Make changes, including changing a field's data type, directly in the data pane.

Data Blending:

Add or update your data blends while you are editing on the web. Stay connected with your data, right in your browser.

Formulas in the Data Pane:

Drag a formula, or just a portion of one, to the data pane to create a new field.

Fix Axis:
Optimize the axis range for analysis by fixing one end of your axis.


Recent Colors:
Keep your recently selected colors across sessions. When using non-default colors, your most recent choices automatically display in the color drop-down control.


Use as Filter:
You love to use sheets as filters. Use as Filter is now accessible straight from the upper-right corner of your dashboard sheets.


Data Prep:

Data can be messy. Clean it up with new data prep enhancements.

Sub-Table Detection:
Big time data clean up—in a single click. Automatically detect sub-tables and convert them to connection-friendly tables with Tableau’s Data Interpreter.


Data Grid Editing:
Craft the ideal data source: sort columns and rows, edit column names, and create calculations directly in the data grid.


Data Pane:
Quickly search and change a field’s data type with the updated data pane.



Tableau Server:
Enjoy new authentication, performance, and governance features for your enterprise deployment.

Set Project Permissions:
Projects now get their own permissions separate from Workbook and Data Source defaults, allowing for more flexible configurations.


Lock Project Permissions:
Administrators and project leaders can now lock a project’s permissions, so they automatically apply to all workbooks and data sources in the project and cannot be changed by authors.


Toolbar Improvements:
The new toolbar puts commonly accessed actions at your fingertips. The redesigned menus are intuitive and the entire toolbar scales for different screen sizes


Performance:

External Query Cache Compression:

Tableau can cache more queries than ever before with external query cache compression.

Shape Rendering Improvements:

Published workbooks take advantage of browser rendering so that shape marks display faster.

Text Table and Highlight Table Optimization:

Text tables and highlight tables are optimized to enhance rendering, resizing, and removing of columns.

Workbook Legend Optimization:

Tableau 9.2 is smarter about handling workbook legends, redrawing them only when visible changes are made.

Authentication:
OpenID Connect:
With OpenID Connect, users can automatically sign in to Tableau Server as long as they are signed in to an OpenID Connect identity provider such as Google.

SAML Sign-in for Tableau Online Sync Client:

Users are able to sign in to the Tableau Online Sync Client using the same SAML credentials that they use for Tableau Online authentication.

Mobile:

Tableau Mobile for iPhone:
Tableau is on the iPhone! Use the native app to see and understand your data with a few taps. Off the grid? Get offline snapshots of your favorite vizzes.


Geolocation:
Out in the field? Tableau is location-aware. Find your location on a map.

Faceted Search:
Find the content you need faster with Faceted Search.


Do you feel that you are Tableau Expert? Then try this challenge 2

Here I am coming with real time challenge. Those who are interested can try this and test your knowledge.

Output look likes below:



Here you are seeing stacked bar chart with 3 different colors.

See below image how to calculate each color value:



See Output for different filter selections:


























































For dataset please download below workbook:





For more challenges: Click Here