您正在查看 Looker 22.16 的文档。最新的文档可在
此处找到。
周_起始日
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
用量
week_start_day:星期一
层次结构
week_start_day
|
默认值
monday
接受
周几(monday 、tuesday 、wednesday 、thursday 、friday 、saturday 或 sunday )
|
定义
您可以使用 week_start_day
参数来调整 Looker 认为一周的起始日。使用 week_start_day
会影响:
- 数据在表格中的显示方式
- 表格的排序顺序
- 过滤器的操作
week_start_day
参数可与四周相关的三个 timeframes
中的三个参数搭配使用:
时间范围 |
支持“week_start_day ”? |
day_of_week_index |
是 |
week |
是 |
day_of_week |
是 |
week_of_year |
否 |
week_start_day
不适用于 week_of_year
,因为该时间范围基于 ISO 标准,该标准使用星期一。
示例
将周数调整为从星期日开始,而不是从星期一开始:
week_start_day: sunday
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-12-10。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]