Skip to main content
guruprasad p 님이 #Tableau Desktop & Web Authoring에 질문했습니다

I am not able to see start date calculation in parameter.

 

how to make visible in parameter when workbook opens start date

 

Start date (calc)  DATE(DATETRUNC('day', max(DATE(DATEADD('day',-([Management Cutoff day ]),DATETRUNC('day',[RunDate Parameter]))))))Note : management cut off date is (int)parameter (0,10,80,120) for above calculations

 

Managment cutoff Run date refers to user selection date parameter.

 

Please suggest how to get in start date into parameter.

답변 14개
  1. 2025년 5월 22일 오후 12:23

    @Vicky P​ 

    Your problem is that you can't use the same parameter that you are trying to assign into your FIXED calc (it is like a circular reference).

     

    You may use:

    {

    (DATE(DATETRUNC('day',

    max(DATE(DATEADD('day',-[Management Cutoff(days)],DATETRUNC('day',{MAX([Run Date])})))))))

    }

    If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.

     

    Regards,

     

    Diego Martinez

    Tableau Visionary and Forums Ambassador

0/9000