most recent purchase dates of a customer in tableau

0 votes

Most recent purchase dates of a customer in tableau.

Apr 22, 2019 in Tableau by smitha
92 views

1 answer to this question.

0 votes
Hi Smitha,

Follow below steps:

1. Create a calculated field like below. (find max(date) then compare with dates for each customer

      IF [Order Date]={ FIXED [Customer ID] : MAX([Order Date]) } THEN [Order ID]
      ELSE "NO"
      END

2. Now add the created field to filter ans unselect "NO".

3. Now the last or recent purchased order will be shown.

Hope this helps you.
answered Apr 22, 2019 by Cherukuri
• 32,460 points

Related Questions In Tableau

0 votes
1 answer

How to calculate the percent of records within a group in tableau?

 You can click the measure SUM(Number of Records) and ...READ MORE

answered May 8, 2018 in Tableau by Atul
• 5,530 points
673 views
0 votes
1 answer

How to count occurrence of value and percentage of a subset in tableau public?

Although it sounds like a fairly easy ...READ MORE

answered Jun 5, 2018 in Tableau by Atul
• 10,240 points
5,723 views
0 votes
1 answer

Counting number of elements in a comma seperated column in Tableau

If you have access to the database, ...READ MORE

answered Jun 19, 2018 in Tableau by xyz
• 1,550 points
579 views
0 votes
1 answer

How to get multiple Sets of Measure Names with different Filters on a single sheet in Tableau?

The easiest solution to your query is: 1) ...READ MORE

answered Aug 23, 2018 in Tableau by Naruto
• 710 points
3,622 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
3,646 views
+1 vote
1 answer
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
213 views
+2 votes
1 answer
0 votes
1 answer

Is it possible to do a % of Table with an attribute in Tableau?

Hi Nithin, yes it is possible to ...READ MORE

answered Mar 12, 2019 in Tableau by Cherukuri
• 32,460 points
96 views
0 votes
2 answers

How can I add text in the centre of a Donut Chart ?

Hi, You can read this for creating a donut ...READ MORE

answered Apr 4, 2019 in Tableau by Cherukuri
• 32,460 points
2,236 views