Calculation to display Selected month and Previous month|| Datetrunc & Dateadd

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

Комментарии • 16

  • @technoscopy
    @technoscopy 3 года назад

    Hello sir I have small doubt if I give current month January 2021 does previous month show Dec 2020

  • @flyinghighoveryou4872
    @flyinghighoveryou4872 5 лет назад

    Just what I was looking for! Thanks

  • @mohamedabdellatif6666
    @mohamedabdellatif6666 3 года назад

    Can we change the format of the parameter to be list instead of calender??

  • @sowjiyadhav9877
    @sowjiyadhav9877 4 года назад

    Good Explanation...thank you

  • @albertoalarcon3794
    @albertoalarcon3794 4 года назад +1

    As a new user, this video was great thanks fo it.
    One question, is it possible to set the value of the "Choose Month-Year" from the a dashboard with Actions?
    What I want to do is to dynamically set the "Choose Month-Year" value by selecting a bar from a "bar graph" which has data for each month-year value.
    Hope I made myself clear about my question.

    • @TableauTip
      @TableauTip  4 года назад +1

      Yes, using parameter actions.
      Please watch following videos to learn more about Parameter actions.
      ruclips.net/video/FtxDxyfMiSc/видео.html
      ruclips.net/video/Of516SmZMIA/видео.html

    • @albertoalarcon3794
      @albertoalarcon3794 4 года назад

      Tableau Tip Thanks for your answer!

  • @peterparker4358
    @peterparker4358 5 лет назад

    Your vidoe are really nice

    • @TableauTip
      @TableauTip  5 лет назад +1

      Thank you Abhijit

    • @peterparker4358
      @peterparker4358 5 лет назад

      @@TableauTip instead of datetrunc can we use dateadd just asking

  • @jessejacob1850
    @jessejacob1850 3 года назад

    can you show a video of how you created the month-year parameter?

    • @TableauTip
      @TableauTip  3 года назад

      Create a parameter of Date data type and choose display format as Month,Year

  • @praveenprakash143
    @praveenprakash143 4 года назад

    how to do same when two parameters Dynamically
    1.YeaParameter...2012
    2.MonthParamter...Aug
    Then I need Current month vs prev month sales like "Aug 2012 vs July 2012 sales KPI"
    Note: I can do it when single parameter Like Nov 2012 as Single parameter using Datetrunc

    • @TableauTip
      @TableauTip  4 года назад

      Create a date field with two parameters... Makedate([YearParameter],[MonthParameter],1) .
      And use this field to write conditions