Written by KimRass
- Context Filters ->
{FIXED:}
-> Dimensition Filters(Actions, Groups) ->{INCLUDE:}
,{EXCLUDE:}
-> Blending -> Table Calculations -> Table Calculation Filters(FIRST()
,LAST()
) -> Manually Hidden Marks
LEFT("█████",Round([사용하실 측정값]*5,0))
CONTAINS([mbr_id], "MBR")
DATEDIFF("quarter", [고객별 최초 구매일], [고객별 최초 재구매일 ])
DATEADD("month", 1, DATEADD("day", -1, DATE(STR([Year Month]) + "01")))
IF DAY(TODAY()) < 21
THEN DATETRUNC("month", DATEADD("month", - 1, TODAY())) - 1
ELSE DATETRUNC("month", TODAY()) - 1
END
DATETRUNC("week", [Order Date])
DATEPARSE("YYYYMM", STR([연월]))
CASE [Sort Criteria Selection]
WHEN "Sales" THEN SUM([Sales])
WHEN "Profit" THEN SUM([Profit])
WHEN "Profit Ratio" THEN [Profit Ratio]
WHEN "Discount" THEN AVG([Discount])
END
IF [검색할 변수] == "처리결과"
THEN [처리결과]
ELSEIF [검색할 변수] == "본부"
THEN [본부]
ELSEIF [검색할 변수] == "팀명"
THEN [팀명]
END
SUM(IF (DATEDIFF("year", [계약금1차일자], [기준 날짜]) == 0
AND [계약금1차일자] <= [기준 날짜])
THEN [_]
END)
- ZN(SUM(IF (DATEDIFF("year", [계약금1차일자], [기준 날짜]) == 0
AND [해약일자] <= [기준 날짜]
AND [계약여부] == "N")
THEN [_]
END))
COUNT(IF [계약금1차일자] <= [기준 날짜]
THEN [계약여부]
END)
- COUNT(IF ([계약금1차일자] <= [기준 날짜]
AND [계약여부] = "N")
THEN [계약여부]
END)
- Return the value of the given expression if only have a single value for all rows in the group, otherwise display
*
. NULL is ignored.
([기준 날짜] >= [분양일])
AND ([기준 날짜] <= [완공예정])
OR
([기준 날짜] > [완공예정]
AND {FIXED [사업지], [분양구분], [분양종류]:[현재 미분양]} > 0)
{FIXED [본부], [팀명]:
COUNT(IF YEAR([접수일]) == 2021
THEN 1
ELSE NULL
END)}
IF {COUNT([Orders])}
== {FIXED [Region]:COUNT([Orders])}
THEN [State]
ELSE [Region]
END
- Compute an aggregate using only the specified dimensions.
- Reference: https://www.youtube.com/watch?v=P-yj-Jzkq_c&list=PLyipEw5AFv5QvjCCYw_ODFTSKVXhkDiQW&index=3
{INCLUDE [City]:AVG([Sales])}
- Compute an aggregate using the specified dimensions and the view dimensions.
- Reference: https://www.youtube.com/watch?v=JW3iIdyT_hM&list=PLyipEw5AFv5RVvw9X4a-Q-LQxbBqsU9Z1&index=4
{EXCLUDE [Sub-Category]:AVG([Sales])}
- Compute and aggregate excluding the specified dimensions if present in the view.
- Reference: https://www.youtube.com/watch?v=RWIhdRiQ3Ic&list=PLyipEw5AFv5RVvw9X4a-Q-LQxbBqsU9Z1&index=3
LAST() <= 23
- Return the number of rows from the current row to the first(last) row in the partition.
- Reference: https://www.youtube.com/watch?v=k41o1m9xsR8&list=PLyipEw5AFv5QvjCCYw_ODFTSKVXhkDiQW&index=4&t=47s
- Return the index of the current row in the partition.
- Return the number of rows in the partition.
(SUM([Sales]) - WINDOW_MIN(SUM([Sales])))/(WINDOW_MAX(SUM([Sales])) - WINDOW_MIN(SUM([Sales])))
WINDOW_AVG(SUM([Sales]), -[Window Selection], 0)
RANK(SUM([Size]))
LOOKUP(ATTR([Customer Name]), 0)
- Return the value of the given expression in a target row, specified as a relative offset from the current row.
- Reference: https://www.youtube.com/watch?v=IRZAbkrkj60&list=PLyipEw5AFv5QvjCCYw_ODFTSKVXhkDiQW&index=4&t=22s
RUNNING_SUM(COUNTD([Product Name]))/TOTAL(COUNTD([Product Name]))
RUNNING_SUM(
COUNT(
IF [Pivot Field Names] == "가입일"
THEN [Pivot Field Values]
END))
- RUNNING_SUM(
COUNT(
IF [Pivot Field Names] == "탈퇴일"
THEN [Pivot Field Values]
END))
RIGHT(
SCRIPT_STR(
"import urllib
from bs4 import BeautifulSoup as bs
url = f'http://www.opinet.co.kr/api/avgLastWeek.do?prodcd=B027&code=F916210128&out=xml'
xml = urllib.request.urlopen(url).read().decode('utf8')
soup = bs(xml, 'lxml')
return soup.find('sta_dt').get_text()",
ATTR([댓글생성자id])), 6)
127 + 2.5*(RANDOM() - 0.2)
"+"0;"-"0
(+0.0%);(-0.0%)
(000,000,000)
Default Properties
->Number Format...
->Custom
Format
->Numbers:
->Custom
- Reference: https://www.youtube.com/watch?v=QhRjOF3M60k
Create
->Bins...
- Reference: https://www.youtube.com/watch?v=C1uAQBIPYk4
Use Separate Legends
<->Combine Legends
- Reference: https://www.youtube.com/watch?v=YXYaDq3qtsw
Create
->Combined Field
- Reference: https://www.youtube.com/watch?v=sEUttHntepU
Copy Formatting
->Paste Formatting
Mark Cards
->Label
->Font
->Match Mark Color
- Swap Rows and Columns.
- New Worksheet.
- Clear Worksheet.
Filters
- Search.
- Move to next Worksheet, Dashboard, or Story.
- Move to previous Worksheet Dashboard, or Story.
- Zoom Out or Zoom In respectively.
- Move Fileds to Columns, Rows, Filters or Text respectively.
- Presentation Mode.
Create Calculate Field...
Show Row(Column) Grand Totals
Save As...
Edit Blend Relationships...
Refresh All Extracts...
Tooltip...
Image...
,Copy Image
respectively
Export Image...
Publish Workbook...
Dashboard...
orWorkbook...
- Uncheck
Add Phone Layouts to New Dashboards
- Uncheck
Show Sort Contols
Table Layout
-> ToggleShow Field Labels for Rows
import tableauserverclient as TSC
tableau_auth = TSC.PersonalAccessTokenAuth("admin_TOKEN", token)
server = TSC.Server("http://218.153.56.75/", use_server_version=True)
with server.auth.sign_in(tableau_auth):
all_groups, pagination_item = server.groups.get(req_options=req_opts)
group_user = list()
with server.auth.sign_in(tableau_auth):
groups, pagination_item = server.groups.get(req_options=req_opts)
for group in groups[1:]:
pagination_item = server.groups.populate_users(group, req_options=req_opts)
group_user.extend([(group.name,) + empls[user.name] + (user.site_role,) if user.name in empls.keys() else (group.name, None, None, None, user.name, user.site_role) for user in group.users])
req_opts = TSC.RequestOptions(pagesize=1000)