Creating calculate fields for year difference

0 votes
How to calculate difference of measure values using date column?. I want to find difference of profit between 2015-2016.
May 22, 2019 in Tableau by cherry
81 views

1 answer to this question.

0 votes

Hey cherry,

Drop Date field and dimension and measure to find the difference.

Use the Add quick calculation to find the difference across the table.

Right click on your measure field and Go to Add quick calculation and select Difference.

If you want to show vertical difference then right click on the field and go to Compute using and change to the table (down).

To convert into % drop the same measure again and follow the same above steps, 

Go to Edit quick calculation and select the calculation type as the percent difference from and select ok.

Hope it helps.

answered May 22, 2019 by anonymous
• 32,490 points

Related Questions In Tableau

0 votes
1 answer

How to change months for a calendar year

Hey, you can try this & Change ...READ MORE

answered Apr 20, 2018 in Tableau by QueenBee
• 1,820 points
67 views
0 votes
1 answer

Creating a calculated field for summing up the values

Well you can use this in your ...READ MORE

answered May 17, 2018 in Tableau by Atul
• 5,540 points
100 views
0 votes
1 answer

How to create a bar graph for two fields with same value?

I believe you want to have something ...READ MORE

answered May 28, 2018 in Tableau by Atul
• 10,240 points
122 views
0 votes
1 answer

Calculated filed with if-then

Below is the required code:  IF (NOT ISNULL([test2])) ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
337 views
0 votes
1 answer

How to calculate profit when cost and revenue are in same column?

You can create the following calculated fields: Profit: SUM(IIF([account_category] ...READ MORE

answered Apr 10, 2018 in Tableau by Atul
• 5,540 points
196 views
0 votes
1 answer

Creating a calculated field with LOD expression

Go ahead and try the following three ...READ MORE

answered Apr 20, 2018 in Tableau by Atul
• 5,540 points
261 views
0 votes
2 answers

Calculation issue: Distinct sum in Tableau

I feel the easiest way is to ...READ MORE

answered Aug 25 in Tableau by Dhiraj Kumar Sahu
5,067 views
0 votes
1 answer

How to find first n months profit/sales for a given year

Hi Sindhu, You can use Calculated field to ...READ MORE

answered Mar 8, 2019 in Tableau by Cherukuri
• 32,490 points
73 views
0 votes
1 answer

Format the values in fields for label

Hi, You can format a field by right click on ...READ MORE

answered Apr 1, 2019 in Tableau by Cherukuri
• 32,490 points
48 views