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
181 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
• 33,010 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
152 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 18, 2018 in Tableau by Atul
• 5,550 points
195 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 29, 2018 in Tableau by Atul
• 10,230 points
236 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,230 points
650 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,550 points
370 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,550 points
472 views
0 votes
2 answers

Calculation issue: Distinct sum in Tableau

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

answered Aug 26, 2020 in Tableau by Dhiraj Kumar Sahu
6,755 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
• 33,010 points
141 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
• 33,010 points
110 views