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
951 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,030 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
793 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 ffdfd
• 5,550 points
713 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,240 points
1,021 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
1,621 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 ffdfd
• 5,550 points
1,215 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 ffdfd
• 5,550 points
1,195 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
9,622 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,030 points
784 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,030 points
634 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP