Exclude last month from data set

0 votes

How to always show data by excluding the most recent month?

May 22, 2019 in Tableau by Peter
950 views

1 answer to this question.

0 votes
Hi Peter,

Use a condition as below and statements to perform data

IF MONTH([Order Date])!= MONTH({MAX([Order Date])}) AND YEAR([Order Date])= YEAR({MAX([Order Date])}) THEN "........"
ELSE ......" END

OR

IF DATEDIFF('month',[Order Date], {MAX([Order Date])})>0 THEN "....." ELSE "......." END

Hope it helps!
answered May 22, 2019 by Cherukuri
• 33,030 points

Related Questions In Tableau

0 votes
1 answer

How to calculate weekly average from daily data?

You can create these calculated fields: Unique Weeks ...READ MORE

answered Jun 27, 2018 in Tableau by Atul
• 10,240 points
13,999 views
0 votes
1 answer

Performing automatic read and update data source from a web data connector

Dashboard on Tableau Public can only be ...READ MORE

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

Replacing Data Source from one Server to Another

I did something similar to it For ...READ MORE

answered Sep 20, 2018 in Tableau by Naruto
• 710 points
1,149 views
0 votes
1 answer

How to get past N months date from data source?

Hi, this is a one solution to your ...READ MORE

answered Mar 1, 2019 in Tableau by Cherukuri
• 33,030 points
808 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
9,891 views
+2 votes
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
1,594 views
+2 votes
1 answer
0 votes
1 answer

last n days transactions data from dataset

Hey,  You can create a calculated column or ...READ MORE

answered May 22, 2019 in Tableau by anonymous
• 33,030 points
685 views
0 votes
1 answer

How to set Actions from sheet to Dashboards

Hey, The below Filter can be used to navigate from ...READ MORE

answered Feb 28, 2019 in Tableau by Cherukuri
• 33,030 points

edited Feb 28, 2019 by Cherukuri 787 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