Skip to main content

Hi All,

 

New to tableau and looking for help with breaking sales dollars out by date.  I have a column which has Invoice date in format mm/dd/yyyy and a column that has sales dollars.   I've found it's easy to break out by years and quarters.  Wondering what the easiest way is to breakout these values into YTD columns and also month columns so that I can compare YTD performance as well as performance during a month compared to the same month from prior years. Is it easier if I have the sales in these columns before uploading to tableau?  Sorry if this is a common issue I couldn't find a thread specific to this.  Please link if you know one.

 

Thanks

 

Example  2019 YTD 2018 YTD 2017 YTD Columns as well as   January 2019 January 2018 January 2017

1 answer
  1. Aug 26, 2019, 3:23 PM

    Good morning Aaron

    Tableau has excellent free on-line video training that will take yo from getting started through advanced calculations  at   Tableau Training: View Training Courses 

     

    in your post you are suggesting that you have a short wide table - similar to a spreadsheet v a tall thin dataset - which are preferred for  Tableau and all other database oriented system by pivoting the data

    Pivot Data from Columns to Rows - Tableau   then the YOY becomes a table calc

     

    Jim

    If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question. This will help other users find the same answer/resolution.  Thank you.

0/9000