Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

How To Show Most Recent Label When There Are No Time Or Date Type Field In The View

게시 일자: Apr 29, 2025
과업

Label the most recent marks in the view. When there is a time or date field in the view, you can label all marks that correspond to the most recent date or time in the view. When you select this option, you can specify a scope for the labels in the view.

For a view without a time or date field, you can't select the Most recent label.
User-added image

단계
  1. Create a parameter calls select a date unit
  2. Create a calculation field like below and name it week or month
    if [select a date unit] = 1
    then 
    DATEPART('week',[Order Date])
    ELSEif [select a date unit] = 2
    then 
    DATEPART('month',[Order Date])
    END
  3. Create a calculation field like below and name it most recent label 
    if [select a date unit] = 1 then 
        if [week or month] = {fixed:max(DATEPART('week',[Order Date]))}
        then [Sales]
        END
    ELSEIF [select a date unit] = 2 then 
        if [week or month] = {fixed:max(DATEPART('month',[Order Date]))}
        then [Sales]
        END
    END
  4. Drag week or month to Columns, Sales to Rows, Category to Color, most recent label to Label
  5. Exclude the newest point of Furniture.
  6. Confirm Label for Furniture is no longer shown in the view.
Knowledge 기사 번호

001456868

첨부 파일

How To Show Most Recent Label.twbx

2415 KB

 
로드 중
Salesforce Help | Article