Wednesday, 15 November 2017

Top City Per State

For Each state display the city name having  highest sales.

Step 1:
Create 3 calculated fields 
1.City Sales   2.Top City Sales     3.Top City Name   by below formulas.




Step 2:
Double click on state geographic dimension, select filled map in marks card shelf, drag and drop Sales measure on color, label of the marks card and drag and drop Top City Name calculated field on label of the marks card.



Thanks Guru's,
Prazval.ks

Monday, 23 October 2017

Unique Customer Count

Hello Gurus,
Lets Discuss one common challenge in these days of finding unique Customers purchased in the specific time frame.
Let's do the challenge.
For each month, how many unique customers have purchased in the last six months?

Step 1:
Create  3 calculated fields “6 Months Buffer”, “Index=1”, “Rolling CountD”  by below formulas.




Step 2:
Drag and drop “Order Date” date dimension field into columns shelf and change format as discrete date part “Month/Year”.


Step 3:
Drag and drop “Rolling CountD” calculated field into rows shelf, right click on “Rolling CountD” field, click on edit table calculation and select specific dimension as customer name.



Step 4:
Drag and drop “Index=1” calculated field into filters shelf, select “True” and make sure addressing as customer name.

Step 5:
Drag and drop “Customer Name” field on details of marks card.


Thanks Gurus,
Prazval.ks

Saturday, 19 August 2017

Count of A's in Each Customer’s Name

How many A's does each Customer have in their name(On Superstore Data)?

Step 1:

Create  3 calculated fields “Cust Name WithOut A's”, “Name length”, and “Name Length WithOut A's”  by below formulas.



Step 2:
Create “Number of A’s” calculated field to find no of A’s in each and every player.










Step 3:
Drag and drop “Name” dimension field into rows shelf and “Number of A’s” measure field into columns shelf.

Thanks Guru's,
Prazval.ks

Saturday, 12 August 2017

Zipping the Tableau Server LogFiles

Tableau Server LogFiles can be backed up by  using TAB ADMIN.
It Creates an archive (.zip) containing Tableau Server log files.
If we have Clustered Environment,then log files from worker servers are included in the archive that's created.

Syntax:-

tabadmin ziplogs  <File-location>

Dynamic Date Axis Display in Tableau

Design a dynamic Date Axis Display(On Superstore Data) if the user selects a date range that is larger than 365 days show a yearly Axis, if they select a date range larger than 30 days show a monthly Axis, otherwise show the view at a daily Axis Level.

Step1:-
Create  3 Calculated Fields Duration, “Date Granularity, and Date Axis  by below formulas.



Step 2:
Drag and drop Date Axis Cal. field into columns shelf, right click on Date Axis field and select Exact Date, Continuos. 

Step 3:
Drag and drop Date Cal.field into filter shelf and select Range of dates “click on next, click on apply, ok .

Step 4:
Right click on "Date" field in filter shelf and select add to context, Select Show filter.

Step 5:
Drag and drop "Sales" measure field into rows shelf and change aggregation as avg.

Step 6:
Perform any selection on Date Filter and check whether the
Date Axis is changing dynamically (or) not.

Thanks Gurus,
Prazval.ks

Sunday, 11 June 2017

Finding Student Best Subject

Lets achieve this using LOD's. 
For this, We need to create 3 calculations, to find out the best scoring subject of each student .

Step1:

Create a Calculated Field with the following Formula.


 Step2:


Step3:



Thursday, 1 June 2017

Deploying Tableau Server on AWS

Hello Gurus, 

 Today lets see how to deploy the Tableau Server on AWS.


Pre-requisites:-


First we need to Configure AWS with the following steps:








To run Tableau Server on AWS,next we need to install Tableau Server on EC2 instance (or) instances that we just configured in the above Steps.
Its just like the normal installation on our local hardware.




Finally we need to access dashboard on Server,so first we need to publish the required workbook from desktop to Server.














Finally access your dashboard in AWS











Thanks&Regards,
Prazval.ks

Top City Per State

For Each state display the city name having  highest sales. Step 1: Create 3  calculated fields   1. City Sales   2. Top City S...