semantic-link-labs 0.12.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- semantic_link_labs-0.12.8.dist-info/METADATA +354 -0
- semantic_link_labs-0.12.8.dist-info/RECORD +243 -0
- semantic_link_labs-0.12.8.dist-info/WHEEL +5 -0
- semantic_link_labs-0.12.8.dist-info/licenses/LICENSE +21 -0
- semantic_link_labs-0.12.8.dist-info/top_level.txt +1 -0
- sempy_labs/__init__.py +606 -0
- sempy_labs/_a_lib_info.py +2 -0
- sempy_labs/_ai.py +437 -0
- sempy_labs/_authentication.py +264 -0
- sempy_labs/_bpa_translation/_model/_translations_am-ET.po +869 -0
- sempy_labs/_bpa_translation/_model/_translations_ar-AE.po +908 -0
- sempy_labs/_bpa_translation/_model/_translations_bg-BG.po +968 -0
- sempy_labs/_bpa_translation/_model/_translations_ca-ES.po +963 -0
- sempy_labs/_bpa_translation/_model/_translations_cs-CZ.po +943 -0
- sempy_labs/_bpa_translation/_model/_translations_da-DK.po +945 -0
- sempy_labs/_bpa_translation/_model/_translations_de-DE.po +988 -0
- sempy_labs/_bpa_translation/_model/_translations_el-GR.po +993 -0
- sempy_labs/_bpa_translation/_model/_translations_es-ES.po +971 -0
- sempy_labs/_bpa_translation/_model/_translations_fa-IR.po +933 -0
- sempy_labs/_bpa_translation/_model/_translations_fi-FI.po +942 -0
- sempy_labs/_bpa_translation/_model/_translations_fr-FR.po +994 -0
- sempy_labs/_bpa_translation/_model/_translations_ga-IE.po +967 -0
- sempy_labs/_bpa_translation/_model/_translations_he-IL.po +902 -0
- sempy_labs/_bpa_translation/_model/_translations_hi-IN.po +944 -0
- sempy_labs/_bpa_translation/_model/_translations_hu-HU.po +963 -0
- sempy_labs/_bpa_translation/_model/_translations_id-ID.po +946 -0
- sempy_labs/_bpa_translation/_model/_translations_is-IS.po +939 -0
- sempy_labs/_bpa_translation/_model/_translations_it-IT.po +986 -0
- sempy_labs/_bpa_translation/_model/_translations_ja-JP.po +846 -0
- sempy_labs/_bpa_translation/_model/_translations_ko-KR.po +839 -0
- sempy_labs/_bpa_translation/_model/_translations_mt-MT.po +967 -0
- sempy_labs/_bpa_translation/_model/_translations_nl-NL.po +978 -0
- sempy_labs/_bpa_translation/_model/_translations_pl-PL.po +962 -0
- sempy_labs/_bpa_translation/_model/_translations_pt-BR.po +962 -0
- sempy_labs/_bpa_translation/_model/_translations_pt-PT.po +957 -0
- sempy_labs/_bpa_translation/_model/_translations_ro-RO.po +968 -0
- sempy_labs/_bpa_translation/_model/_translations_ru-RU.po +964 -0
- sempy_labs/_bpa_translation/_model/_translations_sk-SK.po +952 -0
- sempy_labs/_bpa_translation/_model/_translations_sl-SL.po +950 -0
- sempy_labs/_bpa_translation/_model/_translations_sv-SE.po +942 -0
- sempy_labs/_bpa_translation/_model/_translations_ta-IN.po +976 -0
- sempy_labs/_bpa_translation/_model/_translations_te-IN.po +947 -0
- sempy_labs/_bpa_translation/_model/_translations_th-TH.po +924 -0
- sempy_labs/_bpa_translation/_model/_translations_tr-TR.po +953 -0
- sempy_labs/_bpa_translation/_model/_translations_uk-UA.po +961 -0
- sempy_labs/_bpa_translation/_model/_translations_zh-CN.po +804 -0
- sempy_labs/_bpa_translation/_model/_translations_zu-ZA.po +969 -0
- sempy_labs/_capacities.py +1198 -0
- sempy_labs/_capacity_migration.py +660 -0
- sempy_labs/_clear_cache.py +351 -0
- sempy_labs/_connections.py +610 -0
- sempy_labs/_dashboards.py +69 -0
- sempy_labs/_data_access_security.py +98 -0
- sempy_labs/_data_pipelines.py +162 -0
- sempy_labs/_dataflows.py +668 -0
- sempy_labs/_dax.py +501 -0
- sempy_labs/_daxformatter.py +80 -0
- sempy_labs/_delta_analyzer.py +467 -0
- sempy_labs/_delta_analyzer_history.py +301 -0
- sempy_labs/_dictionary_diffs.py +221 -0
- sempy_labs/_documentation.py +147 -0
- sempy_labs/_domains.py +51 -0
- sempy_labs/_eventhouses.py +182 -0
- sempy_labs/_external_data_shares.py +230 -0
- sempy_labs/_gateways.py +521 -0
- sempy_labs/_generate_semantic_model.py +521 -0
- sempy_labs/_get_connection_string.py +84 -0
- sempy_labs/_git.py +543 -0
- sempy_labs/_graphQL.py +90 -0
- sempy_labs/_helper_functions.py +2833 -0
- sempy_labs/_icons.py +149 -0
- sempy_labs/_job_scheduler.py +609 -0
- sempy_labs/_kql_databases.py +149 -0
- sempy_labs/_kql_querysets.py +124 -0
- sempy_labs/_kusto.py +137 -0
- sempy_labs/_labels.py +124 -0
- sempy_labs/_list_functions.py +1720 -0
- sempy_labs/_managed_private_endpoints.py +253 -0
- sempy_labs/_mirrored_databases.py +416 -0
- sempy_labs/_mirrored_warehouses.py +60 -0
- sempy_labs/_ml_experiments.py +113 -0
- sempy_labs/_model_auto_build.py +140 -0
- sempy_labs/_model_bpa.py +557 -0
- sempy_labs/_model_bpa_bulk.py +378 -0
- sempy_labs/_model_bpa_rules.py +859 -0
- sempy_labs/_model_dependencies.py +343 -0
- sempy_labs/_mounted_data_factories.py +123 -0
- sempy_labs/_notebooks.py +441 -0
- sempy_labs/_one_lake_integration.py +151 -0
- sempy_labs/_onelake.py +131 -0
- sempy_labs/_query_scale_out.py +433 -0
- sempy_labs/_refresh_semantic_model.py +435 -0
- sempy_labs/_semantic_models.py +468 -0
- sempy_labs/_spark.py +455 -0
- sempy_labs/_sql.py +241 -0
- sempy_labs/_sql_audit_settings.py +207 -0
- sempy_labs/_sql_endpoints.py +214 -0
- sempy_labs/_tags.py +201 -0
- sempy_labs/_translations.py +43 -0
- sempy_labs/_user_delegation_key.py +44 -0
- sempy_labs/_utils.py +79 -0
- sempy_labs/_vertipaq.py +1021 -0
- sempy_labs/_vpax.py +388 -0
- sempy_labs/_warehouses.py +234 -0
- sempy_labs/_workloads.py +140 -0
- sempy_labs/_workspace_identity.py +72 -0
- sempy_labs/_workspaces.py +595 -0
- sempy_labs/admin/__init__.py +170 -0
- sempy_labs/admin/_activities.py +167 -0
- sempy_labs/admin/_apps.py +145 -0
- sempy_labs/admin/_artifacts.py +65 -0
- sempy_labs/admin/_basic_functions.py +463 -0
- sempy_labs/admin/_capacities.py +508 -0
- sempy_labs/admin/_dataflows.py +45 -0
- sempy_labs/admin/_datasets.py +186 -0
- sempy_labs/admin/_domains.py +522 -0
- sempy_labs/admin/_external_data_share.py +100 -0
- sempy_labs/admin/_git.py +72 -0
- sempy_labs/admin/_items.py +265 -0
- sempy_labs/admin/_labels.py +211 -0
- sempy_labs/admin/_reports.py +241 -0
- sempy_labs/admin/_scanner.py +118 -0
- sempy_labs/admin/_shared.py +82 -0
- sempy_labs/admin/_sharing_links.py +110 -0
- sempy_labs/admin/_tags.py +131 -0
- sempy_labs/admin/_tenant.py +503 -0
- sempy_labs/admin/_tenant_keys.py +89 -0
- sempy_labs/admin/_users.py +140 -0
- sempy_labs/admin/_workspaces.py +236 -0
- sempy_labs/deployment_pipeline/__init__.py +23 -0
- sempy_labs/deployment_pipeline/_items.py +580 -0
- sempy_labs/directlake/__init__.py +57 -0
- sempy_labs/directlake/_autosync.py +58 -0
- sempy_labs/directlake/_directlake_schema_compare.py +120 -0
- sempy_labs/directlake/_directlake_schema_sync.py +161 -0
- sempy_labs/directlake/_dl_helper.py +274 -0
- sempy_labs/directlake/_generate_shared_expression.py +94 -0
- sempy_labs/directlake/_get_directlake_lakehouse.py +62 -0
- sempy_labs/directlake/_get_shared_expression.py +34 -0
- sempy_labs/directlake/_guardrails.py +96 -0
- sempy_labs/directlake/_list_directlake_model_calc_tables.py +70 -0
- sempy_labs/directlake/_show_unsupported_directlake_objects.py +90 -0
- sempy_labs/directlake/_update_directlake_model_lakehouse_connection.py +239 -0
- sempy_labs/directlake/_update_directlake_partition_entity.py +259 -0
- sempy_labs/directlake/_warm_cache.py +236 -0
- sempy_labs/dotnet_lib/dotnet.runtime.config.json +10 -0
- sempy_labs/environment/__init__.py +23 -0
- sempy_labs/environment/_items.py +212 -0
- sempy_labs/environment/_pubstage.py +223 -0
- sempy_labs/eventstream/__init__.py +37 -0
- sempy_labs/eventstream/_items.py +263 -0
- sempy_labs/eventstream/_topology.py +652 -0
- sempy_labs/graph/__init__.py +59 -0
- sempy_labs/graph/_groups.py +651 -0
- sempy_labs/graph/_sensitivity_labels.py +120 -0
- sempy_labs/graph/_teams.py +125 -0
- sempy_labs/graph/_user_licenses.py +96 -0
- sempy_labs/graph/_users.py +516 -0
- sempy_labs/graph_model/__init__.py +15 -0
- sempy_labs/graph_model/_background_jobs.py +63 -0
- sempy_labs/graph_model/_items.py +149 -0
- sempy_labs/lakehouse/__init__.py +67 -0
- sempy_labs/lakehouse/_blobs.py +247 -0
- sempy_labs/lakehouse/_get_lakehouse_columns.py +102 -0
- sempy_labs/lakehouse/_get_lakehouse_tables.py +274 -0
- sempy_labs/lakehouse/_helper.py +250 -0
- sempy_labs/lakehouse/_lakehouse.py +351 -0
- sempy_labs/lakehouse/_livy_sessions.py +143 -0
- sempy_labs/lakehouse/_materialized_lake_views.py +157 -0
- sempy_labs/lakehouse/_partitioning.py +165 -0
- sempy_labs/lakehouse/_schemas.py +217 -0
- sempy_labs/lakehouse/_shortcuts.py +440 -0
- sempy_labs/migration/__init__.py +35 -0
- sempy_labs/migration/_create_pqt_file.py +238 -0
- sempy_labs/migration/_direct_lake_to_import.py +105 -0
- sempy_labs/migration/_migrate_calctables_to_lakehouse.py +398 -0
- sempy_labs/migration/_migrate_calctables_to_semantic_model.py +148 -0
- sempy_labs/migration/_migrate_model_objects_to_semantic_model.py +533 -0
- sempy_labs/migration/_migrate_tables_columns_to_semantic_model.py +172 -0
- sempy_labs/migration/_migration_validation.py +71 -0
- sempy_labs/migration/_refresh_calc_tables.py +131 -0
- sempy_labs/mirrored_azure_databricks_catalog/__init__.py +15 -0
- sempy_labs/mirrored_azure_databricks_catalog/_discover.py +213 -0
- sempy_labs/mirrored_azure_databricks_catalog/_refresh_catalog_metadata.py +45 -0
- sempy_labs/ml_model/__init__.py +23 -0
- sempy_labs/ml_model/_functions.py +427 -0
- sempy_labs/report/_BPAReportTemplate.json +232 -0
- sempy_labs/report/__init__.py +55 -0
- sempy_labs/report/_bpareporttemplate/.pbi/localSettings.json +9 -0
- sempy_labs/report/_bpareporttemplate/.platform +11 -0
- sempy_labs/report/_bpareporttemplate/StaticResources/SharedResources/BaseThemes/CY24SU06.json +710 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/page.json +11 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/1b08bce3bebabb0a27a8/visual.json +191 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/2f22ddb70c301693c165/visual.json +438 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/3b1182230aa6c600b43a/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/58577ba6380c69891500/visual.json +576 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/a2a8fa5028b3b776c96c/visual.json +207 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/adfd47ef30652707b987/visual.json +506 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/b6a80ee459e716e170b1/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/01d72098bda5055bd500/visuals/ce3130a721c020cc3d81/visual.json +513 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/page.json +8 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/92735ae19b31712208ad/visuals/66e60dfb526437cd78d1/visual.json +112 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/page.json +11 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/07deb8bce824e1be37d7/visual.json +513 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0b1c68838818b32ad03b/visual.json +352 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0c171de9d2683d10b930/visual.json +37 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/0efa01be0510e40a645e/visual.json +542 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/6bf2f0eb830ab53cc668/visual.json +221 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/88d8141cb8500b60030c/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/a753273590beed656a03/visual.json +576 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/c597da16dc7e63222a82/visuals/b8fdc82cddd61ac447bc/visual.json +127 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/page.json +9 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/d37dce724a0ccc30044b/visuals/ce8532a7e25020271077/visual.json +38 -0
- sempy_labs/report/_bpareporttemplate/definition/pages/pages.json +10 -0
- sempy_labs/report/_bpareporttemplate/definition/report.json +176 -0
- sempy_labs/report/_bpareporttemplate/definition/version.json +4 -0
- sempy_labs/report/_bpareporttemplate/definition.pbir +14 -0
- sempy_labs/report/_download_report.py +76 -0
- sempy_labs/report/_export_report.py +257 -0
- sempy_labs/report/_generate_report.py +427 -0
- sempy_labs/report/_paginated.py +76 -0
- sempy_labs/report/_report_bpa.py +354 -0
- sempy_labs/report/_report_bpa_rules.py +115 -0
- sempy_labs/report/_report_functions.py +581 -0
- sempy_labs/report/_report_helper.py +227 -0
- sempy_labs/report/_report_list_functions.py +110 -0
- sempy_labs/report/_report_rebind.py +149 -0
- sempy_labs/report/_reportwrapper.py +3100 -0
- sempy_labs/report/_save_report.py +147 -0
- sempy_labs/snowflake_database/__init__.py +10 -0
- sempy_labs/snowflake_database/_items.py +105 -0
- sempy_labs/sql_database/__init__.py +21 -0
- sempy_labs/sql_database/_items.py +201 -0
- sempy_labs/sql_database/_mirroring.py +79 -0
- sempy_labs/theme/__init__.py +12 -0
- sempy_labs/theme/_org_themes.py +129 -0
- sempy_labs/tom/__init__.py +3 -0
- sempy_labs/tom/_model.py +5977 -0
- sempy_labs/variable_library/__init__.py +19 -0
- sempy_labs/variable_library/_functions.py +403 -0
- sempy_labs/warehouse/__init__.py +28 -0
- sempy_labs/warehouse/_items.py +234 -0
- sempy_labs/warehouse/_restore_points.py +309 -0
|
@@ -0,0 +1,804 @@
|
|
|
1
|
+
#
|
|
2
|
+
msgid ""
|
|
3
|
+
msgstr ""
|
|
4
|
+
"Language: zh-CN\n"
|
|
5
|
+
"MIME-Version: 1.0\n"
|
|
6
|
+
"Content-Type: text/plain; charset=UTF-8\n"
|
|
7
|
+
"Content-Transfer-Encoding: 8bit\n"
|
|
8
|
+
|
|
9
|
+
# rule_name
|
|
10
|
+
msgid "Do not use floating point data types"
|
|
11
|
+
msgstr "不要使用浮点数据类型"
|
|
12
|
+
|
|
13
|
+
# rule_name
|
|
14
|
+
msgid "Avoid using calculated columns"
|
|
15
|
+
msgstr "避免使用计算列"
|
|
16
|
+
|
|
17
|
+
# rule_name
|
|
18
|
+
msgid "Check if bi-directional and many-to-many relationships are valid"
|
|
19
|
+
msgstr "检查双向关系和多对多关系是否有效"
|
|
20
|
+
|
|
21
|
+
# rule_name
|
|
22
|
+
msgid "Check if dynamic row level security (RLS) is necessary"
|
|
23
|
+
msgstr "检查是否需要动态行级别安全性 (RLS)"
|
|
24
|
+
|
|
25
|
+
# rule_name
|
|
26
|
+
msgid ""
|
|
27
|
+
"Avoid using many-to-many relationships on tables used for dynamic row level "
|
|
28
|
+
"security"
|
|
29
|
+
msgstr "避免在用于动态行级别安全性的表上使用多对多关系"
|
|
30
|
+
|
|
31
|
+
# rule_name
|
|
32
|
+
msgid "Many-to-many relationships should be single-direction"
|
|
33
|
+
msgstr "多对多关系应该是单向的"
|
|
34
|
+
|
|
35
|
+
# rule_name
|
|
36
|
+
msgid "Set IsAvailableInMdx to false on non-attribute columns"
|
|
37
|
+
msgstr "在非属性列上将 IsAvailableInMdx 设置为 false"
|
|
38
|
+
|
|
39
|
+
# rule_name
|
|
40
|
+
msgid ""
|
|
41
|
+
"Set 'Data Coverage Definition' property on the DirectQuery partition of a "
|
|
42
|
+
"hybrid table"
|
|
43
|
+
msgstr "在混合表的 DirectQuery 分区上设置“数据覆盖率定义”属性"
|
|
44
|
+
|
|
45
|
+
# rule_name
|
|
46
|
+
msgid ""
|
|
47
|
+
"Dual mode is only relevant for dimension tables if DirectQuery is used for "
|
|
48
|
+
"the corresponding fact table"
|
|
49
|
+
msgstr "仅当 DirectQuery 用于相应的事实数据表时,双模式才与维度表相关"
|
|
50
|
+
|
|
51
|
+
# rule_name
|
|
52
|
+
msgid ""
|
|
53
|
+
"Set dimensions tables to dual mode instead of import when using DirectQuery "
|
|
54
|
+
"on fact tables"
|
|
55
|
+
msgstr "在事实数据表上使用 DirectQuery 时,将维度表设置为双模式,而不是导入"
|
|
56
|
+
|
|
57
|
+
# rule_name
|
|
58
|
+
msgid "Minimize Power Query transformations"
|
|
59
|
+
msgstr "最小化 Power Query 转换"
|
|
60
|
+
|
|
61
|
+
# rule_name
|
|
62
|
+
msgid "Consider a star-schema instead of a snowflake architecture"
|
|
63
|
+
msgstr "考虑星型架构而不是雪花型架构"
|
|
64
|
+
|
|
65
|
+
# rule_name
|
|
66
|
+
msgid "Avoid using views when using Direct Lake mode"
|
|
67
|
+
msgstr "避免在使用 Direct Lake 模式时使用视图"
|
|
68
|
+
|
|
69
|
+
# rule_name
|
|
70
|
+
msgid "Avoid adding 0 to a measure"
|
|
71
|
+
msgstr "避免将 0 添加到度量"
|
|
72
|
+
|
|
73
|
+
# rule_name
|
|
74
|
+
msgid "Reduce usage of calculated tables"
|
|
75
|
+
msgstr "减少计算表的使用"
|
|
76
|
+
|
|
77
|
+
# rule_name
|
|
78
|
+
msgid "Reduce usage of calculated columns that use the RELATED function"
|
|
79
|
+
msgstr "减少使用 RELATED 函数的计算列的使用"
|
|
80
|
+
|
|
81
|
+
# rule_name
|
|
82
|
+
msgid "Avoid excessive bi-directional or many-to-many relationships"
|
|
83
|
+
msgstr "避免过多的双向或多对多关系"
|
|
84
|
+
|
|
85
|
+
# rule_name
|
|
86
|
+
msgid "Remove auto-date table"
|
|
87
|
+
msgstr "删除自动日期表"
|
|
88
|
+
|
|
89
|
+
# rule_name
|
|
90
|
+
msgid "Date/calendar tables should be marked as a date table"
|
|
91
|
+
msgstr "日期/日历表应标记为日期表"
|
|
92
|
+
|
|
93
|
+
# rule_name
|
|
94
|
+
msgid "Large tables should be partitioned"
|
|
95
|
+
msgstr "大型表应进行分区"
|
|
96
|
+
|
|
97
|
+
# rule_name
|
|
98
|
+
msgid "Limit row level security (RLS) logic"
|
|
99
|
+
msgstr "限制行级别安全性 (RLS) 逻辑"
|
|
100
|
+
|
|
101
|
+
# rule_name
|
|
102
|
+
msgid "Model should have a date table"
|
|
103
|
+
msgstr "模型应具有日期表"
|
|
104
|
+
|
|
105
|
+
# rule_name
|
|
106
|
+
msgid "Calculation items must have an expression"
|
|
107
|
+
msgstr "计算项必须具有表达式"
|
|
108
|
+
|
|
109
|
+
# rule_name
|
|
110
|
+
msgid "Relationship columns should be of the same data type"
|
|
111
|
+
msgstr "关系列应具有相同的数据类型"
|
|
112
|
+
|
|
113
|
+
# rule_name
|
|
114
|
+
msgid "Data columns must have a source column"
|
|
115
|
+
msgstr "数据列必须具有源列"
|
|
116
|
+
|
|
117
|
+
# rule_name
|
|
118
|
+
msgid "Set IsAvailableInMdx to true on necessary columns"
|
|
119
|
+
msgstr "在必要的列上将 IsAvailableInMdx 设置为 true"
|
|
120
|
+
|
|
121
|
+
# rule_name
|
|
122
|
+
msgid "Avoid the USERELATIONSHIP function and RLS against the same table"
|
|
123
|
+
msgstr "避免对同一个表使用 USERELATIONSHIP 函数和 RLS"
|
|
124
|
+
|
|
125
|
+
# rule_name
|
|
126
|
+
msgid "Avoid using the IFERROR function"
|
|
127
|
+
msgstr "避免使用 IFERROR 函数"
|
|
128
|
+
|
|
129
|
+
# rule_name
|
|
130
|
+
msgid ""
|
|
131
|
+
"Use the TREATAS function instead of INTERSECT for virtual relationships"
|
|
132
|
+
msgstr "将 TREATAS 函数而不是 INTERSECT 用于虚拟关系"
|
|
133
|
+
|
|
134
|
+
# rule_name
|
|
135
|
+
msgid "The EVALUATEANDLOG function should not be used in production models"
|
|
136
|
+
msgstr "EVALUATEANDLOG 函数不应用于生产模型"
|
|
137
|
+
|
|
138
|
+
# rule_name
|
|
139
|
+
msgid "Measures should not be direct references of other measures"
|
|
140
|
+
msgstr "措施不应直接引用其他措施"
|
|
141
|
+
|
|
142
|
+
# rule_name
|
|
143
|
+
msgid "No two measures should have the same definition"
|
|
144
|
+
msgstr "任何两个度量都不应具有相同的定义"
|
|
145
|
+
|
|
146
|
+
# rule_name
|
|
147
|
+
msgid ""
|
|
148
|
+
"Avoid addition or subtraction of constant values to results of divisions"
|
|
149
|
+
msgstr "避免在除法结果中增加或减少常量值"
|
|
150
|
+
|
|
151
|
+
# rule_name
|
|
152
|
+
msgid "Avoid using '1-(x/y)' syntax"
|
|
153
|
+
msgstr "避免使用 '1-(x/y)' 语法"
|
|
154
|
+
|
|
155
|
+
# rule_name
|
|
156
|
+
msgid "Filter measure values by columns, not tables"
|
|
157
|
+
msgstr "按列而不是表筛选度量值"
|
|
158
|
+
|
|
159
|
+
# rule_name
|
|
160
|
+
msgid "Filter column values with proper syntax"
|
|
161
|
+
msgstr "使用正确的语法筛选列值"
|
|
162
|
+
|
|
163
|
+
# rule_name
|
|
164
|
+
msgid "Use the DIVIDE function for division"
|
|
165
|
+
msgstr "使用 DIVIDE 函数进行除法"
|
|
166
|
+
|
|
167
|
+
# rule_name
|
|
168
|
+
msgid "Column references should be fully qualified"
|
|
169
|
+
msgstr "列引用应是完全限定的"
|
|
170
|
+
|
|
171
|
+
# rule_name
|
|
172
|
+
msgid "Measure references should be unqualified"
|
|
173
|
+
msgstr "度量引用应为非限定"
|
|
174
|
+
|
|
175
|
+
# rule_name
|
|
176
|
+
msgid "Inactive relationships that are never activated"
|
|
177
|
+
msgstr "从未激活的非活动关系"
|
|
178
|
+
|
|
179
|
+
# rule_name
|
|
180
|
+
msgid "Remove unnecessary columns"
|
|
181
|
+
msgstr "删除不必要的列"
|
|
182
|
+
|
|
183
|
+
# rule_name
|
|
184
|
+
msgid "Remove unnecessary measures"
|
|
185
|
+
msgstr "删除不必要的措施"
|
|
186
|
+
|
|
187
|
+
# rule_name
|
|
188
|
+
msgid "Ensure tables have relationships"
|
|
189
|
+
msgstr "确保表具有关系"
|
|
190
|
+
|
|
191
|
+
# rule_name
|
|
192
|
+
msgid "Calculation groups with no calculation items"
|
|
193
|
+
msgstr "没有计算项的计算组"
|
|
194
|
+
|
|
195
|
+
# rule_name
|
|
196
|
+
msgid "Visible objects with no description"
|
|
197
|
+
msgstr "没有描述的可见对象"
|
|
198
|
+
|
|
199
|
+
# rule_name
|
|
200
|
+
msgid "Provide format string for 'Date' columns"
|
|
201
|
+
msgstr "为 'Date' 列提供格式字符串"
|
|
202
|
+
|
|
203
|
+
# rule_name
|
|
204
|
+
msgid "Do not summarize numeric columns"
|
|
205
|
+
msgstr "不汇总数值列"
|
|
206
|
+
|
|
207
|
+
# rule_name
|
|
208
|
+
msgid "Provide format string for measures"
|
|
209
|
+
msgstr "为度量提供格式字符串"
|
|
210
|
+
|
|
211
|
+
# rule_name
|
|
212
|
+
msgid "Add data category for columns"
|
|
213
|
+
msgstr "为列添加数据类别"
|
|
214
|
+
|
|
215
|
+
# rule_name
|
|
216
|
+
msgid ""
|
|
217
|
+
"Percentages should be formatted with thousands separators and 1 decimal"
|
|
218
|
+
msgstr "百分比的格式应使用千位分隔符和 1 位小数"
|
|
219
|
+
|
|
220
|
+
# rule_name
|
|
221
|
+
msgid ""
|
|
222
|
+
"Whole numbers should be formatted with thousands separators and no decimals"
|
|
223
|
+
msgstr "整数的格式应使用千位分隔符,并且没有小数"
|
|
224
|
+
|
|
225
|
+
# rule_name
|
|
226
|
+
msgid "Hide foreign keys"
|
|
227
|
+
msgstr "隐藏外键"
|
|
228
|
+
|
|
229
|
+
# rule_name
|
|
230
|
+
msgid "Mark primary keys"
|
|
231
|
+
msgstr "标记主键"
|
|
232
|
+
|
|
233
|
+
# rule_name
|
|
234
|
+
msgid "Month (as a string) must be sorted"
|
|
235
|
+
msgstr "必须对 Month(作为字符串)进行排序"
|
|
236
|
+
|
|
237
|
+
# rule_name
|
|
238
|
+
msgid "Relationship columns should be of integer data type"
|
|
239
|
+
msgstr "关系列应为整数数据类型"
|
|
240
|
+
|
|
241
|
+
# rule_name
|
|
242
|
+
msgid "Provide format string for \"Month\" columns"
|
|
243
|
+
msgstr "为 “Month” 列提供格式字符串"
|
|
244
|
+
|
|
245
|
+
# rule_name
|
|
246
|
+
msgid "Format flag columns as Yes/No value strings"
|
|
247
|
+
msgstr "将标志列的格式设置为“是/否”值字符串"
|
|
248
|
+
|
|
249
|
+
# rule_name
|
|
250
|
+
msgid "Objects should not start or end with a space"
|
|
251
|
+
msgstr "对象不应以空格开头或结尾"
|
|
252
|
+
|
|
253
|
+
# rule_name
|
|
254
|
+
msgid "First letter of objects must be capitalized"
|
|
255
|
+
msgstr "对象的首字母必须大写"
|
|
256
|
+
|
|
257
|
+
# rule_name
|
|
258
|
+
msgid "Object names must not contain special characters"
|
|
259
|
+
msgstr "对象名称不得包含特殊字符"
|
|
260
|
+
|
|
261
|
+
# category
|
|
262
|
+
msgid "Do not use floating point data types"
|
|
263
|
+
msgstr "性能"
|
|
264
|
+
|
|
265
|
+
# category
|
|
266
|
+
msgid "Avoid using calculated columns"
|
|
267
|
+
msgstr "性能"
|
|
268
|
+
|
|
269
|
+
# category
|
|
270
|
+
msgid "Check if bi-directional and many-to-many relationships are valid"
|
|
271
|
+
msgstr "性能"
|
|
272
|
+
|
|
273
|
+
# category
|
|
274
|
+
msgid "Check if dynamic row level security (RLS) is necessary"
|
|
275
|
+
msgstr "性能"
|
|
276
|
+
|
|
277
|
+
# category
|
|
278
|
+
msgid ""
|
|
279
|
+
"Avoid using many-to-many relationships on tables used for dynamic row level "
|
|
280
|
+
"security"
|
|
281
|
+
msgstr "性能"
|
|
282
|
+
|
|
283
|
+
# category
|
|
284
|
+
msgid "Many-to-many relationships should be single-direction"
|
|
285
|
+
msgstr "性能"
|
|
286
|
+
|
|
287
|
+
# category
|
|
288
|
+
msgid "Set IsAvailableInMdx to false on non-attribute columns"
|
|
289
|
+
msgstr "性能"
|
|
290
|
+
|
|
291
|
+
# category
|
|
292
|
+
msgid ""
|
|
293
|
+
"Set 'Data Coverage Definition' property on the DirectQuery partition of a "
|
|
294
|
+
"hybrid table"
|
|
295
|
+
msgstr "性能"
|
|
296
|
+
|
|
297
|
+
# category
|
|
298
|
+
msgid ""
|
|
299
|
+
"Dual mode is only relevant for dimension tables if DirectQuery is used for "
|
|
300
|
+
"the corresponding fact table"
|
|
301
|
+
msgstr "性能"
|
|
302
|
+
|
|
303
|
+
# category
|
|
304
|
+
msgid ""
|
|
305
|
+
"Set dimensions tables to dual mode instead of import when using DirectQuery "
|
|
306
|
+
"on fact tables"
|
|
307
|
+
msgstr "性能"
|
|
308
|
+
|
|
309
|
+
# category
|
|
310
|
+
msgid "Minimize Power Query transformations"
|
|
311
|
+
msgstr "性能"
|
|
312
|
+
|
|
313
|
+
# category
|
|
314
|
+
msgid "Consider a star-schema instead of a snowflake architecture"
|
|
315
|
+
msgstr "性能"
|
|
316
|
+
|
|
317
|
+
# category
|
|
318
|
+
msgid "Avoid using views when using Direct Lake mode"
|
|
319
|
+
msgstr "性能"
|
|
320
|
+
|
|
321
|
+
# category
|
|
322
|
+
msgid "Avoid adding 0 to a measure"
|
|
323
|
+
msgstr "性能"
|
|
324
|
+
|
|
325
|
+
# category
|
|
326
|
+
msgid "Reduce usage of calculated tables"
|
|
327
|
+
msgstr "性能"
|
|
328
|
+
|
|
329
|
+
# category
|
|
330
|
+
msgid "Reduce usage of calculated columns that use the RELATED function"
|
|
331
|
+
msgstr "性能"
|
|
332
|
+
|
|
333
|
+
# category
|
|
334
|
+
msgid "Avoid excessive bi-directional or many-to-many relationships"
|
|
335
|
+
msgstr "性能"
|
|
336
|
+
|
|
337
|
+
# category
|
|
338
|
+
msgid "Remove auto-date table"
|
|
339
|
+
msgstr "性能"
|
|
340
|
+
|
|
341
|
+
# category
|
|
342
|
+
msgid "Date/calendar tables should be marked as a date table"
|
|
343
|
+
msgstr "性能"
|
|
344
|
+
|
|
345
|
+
# category
|
|
346
|
+
msgid "Large tables should be partitioned"
|
|
347
|
+
msgstr "性能"
|
|
348
|
+
|
|
349
|
+
# category
|
|
350
|
+
msgid "Limit row level security (RLS) logic"
|
|
351
|
+
msgstr "性能"
|
|
352
|
+
|
|
353
|
+
# category
|
|
354
|
+
msgid "Model should have a date table"
|
|
355
|
+
msgstr "性能"
|
|
356
|
+
|
|
357
|
+
# category
|
|
358
|
+
msgid "Calculation items must have an expression"
|
|
359
|
+
msgstr "错误预防"
|
|
360
|
+
|
|
361
|
+
# category
|
|
362
|
+
msgid "Relationship columns should be of the same data type"
|
|
363
|
+
msgstr "错误预防"
|
|
364
|
+
|
|
365
|
+
# category
|
|
366
|
+
msgid "Data columns must have a source column"
|
|
367
|
+
msgstr "错误预防"
|
|
368
|
+
|
|
369
|
+
# category
|
|
370
|
+
msgid "Set IsAvailableInMdx to true on necessary columns"
|
|
371
|
+
msgstr "错误预防"
|
|
372
|
+
|
|
373
|
+
# category
|
|
374
|
+
msgid "Avoid the USERELATIONSHIP function and RLS against the same table"
|
|
375
|
+
msgstr "错误预防"
|
|
376
|
+
|
|
377
|
+
# category
|
|
378
|
+
msgid "Avoid using the IFERROR function"
|
|
379
|
+
msgstr "DAX 表达式"
|
|
380
|
+
|
|
381
|
+
# category
|
|
382
|
+
msgid ""
|
|
383
|
+
"Use the TREATAS function instead of INTERSECT for virtual relationships"
|
|
384
|
+
msgstr "DAX 表达式"
|
|
385
|
+
|
|
386
|
+
# category
|
|
387
|
+
msgid "The EVALUATEANDLOG function should not be used in production models"
|
|
388
|
+
msgstr "DAX 表达式"
|
|
389
|
+
|
|
390
|
+
# category
|
|
391
|
+
msgid "Measures should not be direct references of other measures"
|
|
392
|
+
msgstr "DAX 表达式"
|
|
393
|
+
|
|
394
|
+
# category
|
|
395
|
+
msgid "No two measures should have the same definition"
|
|
396
|
+
msgstr "DAX 表达式"
|
|
397
|
+
|
|
398
|
+
# category
|
|
399
|
+
msgid ""
|
|
400
|
+
"Avoid addition or subtraction of constant values to results of divisions"
|
|
401
|
+
msgstr "DAX 表达式"
|
|
402
|
+
|
|
403
|
+
# category
|
|
404
|
+
msgid "Avoid using '1-(x/y)' syntax"
|
|
405
|
+
msgstr "DAX 表达式"
|
|
406
|
+
|
|
407
|
+
# category
|
|
408
|
+
msgid "Filter measure values by columns, not tables"
|
|
409
|
+
msgstr "DAX 表达式"
|
|
410
|
+
|
|
411
|
+
# category
|
|
412
|
+
msgid "Filter column values with proper syntax"
|
|
413
|
+
msgstr "DAX 表达式"
|
|
414
|
+
|
|
415
|
+
# category
|
|
416
|
+
msgid "Use the DIVIDE function for division"
|
|
417
|
+
msgstr "DAX 表达式"
|
|
418
|
+
|
|
419
|
+
# category
|
|
420
|
+
msgid "Column references should be fully qualified"
|
|
421
|
+
msgstr "DAX 表达式"
|
|
422
|
+
|
|
423
|
+
# category
|
|
424
|
+
msgid "Measure references should be unqualified"
|
|
425
|
+
msgstr "DAX 表达式"
|
|
426
|
+
|
|
427
|
+
# category
|
|
428
|
+
msgid "Inactive relationships that are never activated"
|
|
429
|
+
msgstr "DAX 表达式"
|
|
430
|
+
|
|
431
|
+
# category
|
|
432
|
+
msgid "Remove unnecessary columns"
|
|
433
|
+
msgstr "保养"
|
|
434
|
+
|
|
435
|
+
# category
|
|
436
|
+
msgid "Remove unnecessary measures"
|
|
437
|
+
msgstr "保养"
|
|
438
|
+
|
|
439
|
+
# category
|
|
440
|
+
msgid "Ensure tables have relationships"
|
|
441
|
+
msgstr "保养"
|
|
442
|
+
|
|
443
|
+
# category
|
|
444
|
+
msgid "Calculation groups with no calculation items"
|
|
445
|
+
msgstr "保养"
|
|
446
|
+
|
|
447
|
+
# category
|
|
448
|
+
msgid "Visible objects with no description"
|
|
449
|
+
msgstr "保养"
|
|
450
|
+
|
|
451
|
+
# category
|
|
452
|
+
msgid "Provide format string for 'Date' columns"
|
|
453
|
+
msgstr "格式"
|
|
454
|
+
|
|
455
|
+
# category
|
|
456
|
+
msgid "Do not summarize numeric columns"
|
|
457
|
+
msgstr "格式"
|
|
458
|
+
|
|
459
|
+
# category
|
|
460
|
+
msgid "Provide format string for measures"
|
|
461
|
+
msgstr "格式"
|
|
462
|
+
|
|
463
|
+
# category
|
|
464
|
+
msgid "Add data category for columns"
|
|
465
|
+
msgstr "格式"
|
|
466
|
+
|
|
467
|
+
# category
|
|
468
|
+
msgid ""
|
|
469
|
+
"Percentages should be formatted with thousands separators and 1 decimal"
|
|
470
|
+
msgstr "格式"
|
|
471
|
+
|
|
472
|
+
# category
|
|
473
|
+
msgid ""
|
|
474
|
+
"Whole numbers should be formatted with thousands separators and no decimals"
|
|
475
|
+
msgstr "格式"
|
|
476
|
+
|
|
477
|
+
# category
|
|
478
|
+
msgid "Hide foreign keys"
|
|
479
|
+
msgstr "格式"
|
|
480
|
+
|
|
481
|
+
# category
|
|
482
|
+
msgid "Mark primary keys"
|
|
483
|
+
msgstr "格式"
|
|
484
|
+
|
|
485
|
+
# category
|
|
486
|
+
msgid "Month (as a string) must be sorted"
|
|
487
|
+
msgstr "格式"
|
|
488
|
+
|
|
489
|
+
# category
|
|
490
|
+
msgid "Relationship columns should be of integer data type"
|
|
491
|
+
msgstr "格式"
|
|
492
|
+
|
|
493
|
+
# category
|
|
494
|
+
msgid "Provide format string for \"Month\" columns"
|
|
495
|
+
msgstr "格式"
|
|
496
|
+
|
|
497
|
+
# category
|
|
498
|
+
msgid "Format flag columns as Yes/No value strings"
|
|
499
|
+
msgstr "格式"
|
|
500
|
+
|
|
501
|
+
# category
|
|
502
|
+
msgid "Objects should not start or end with a space"
|
|
503
|
+
msgstr "格式"
|
|
504
|
+
|
|
505
|
+
# category
|
|
506
|
+
msgid "First letter of objects must be capitalized"
|
|
507
|
+
msgstr "格式"
|
|
508
|
+
|
|
509
|
+
# category
|
|
510
|
+
msgid "Object names must not contain special characters"
|
|
511
|
+
msgstr "命名约定"
|
|
512
|
+
|
|
513
|
+
# description
|
|
514
|
+
msgid "Do not use floating point data types"
|
|
515
|
+
msgstr ""
|
|
516
|
+
"应避免使用“Double”浮点数据类型,因为它在某些情况下可能会导致不可预测的舍入错误并降低性能。在适当的情况下使用 “Int64” 或 "
|
|
517
|
+
"“Decimal” (但请注意,“Decimal” 仅限于小数点后 4 位数字)。"
|
|
518
|
+
|
|
519
|
+
# description
|
|
520
|
+
msgid "Avoid using calculated columns"
|
|
521
|
+
msgstr ""
|
|
522
|
+
"计算列的压缩效果不如数据列,因此它们会占用更多内存。它们还会减慢表和进程重新计算的处理时间。将计算列逻辑卸载到数据仓库,并将这些计算列转换为数据列。"
|
|
523
|
+
|
|
524
|
+
# description
|
|
525
|
+
msgid "Check if bi-directional and many-to-many relationships are valid"
|
|
526
|
+
msgstr ""
|
|
527
|
+
"https://www.sqlbi.com/articles/bidirectional-relationships-and-ambiguity-in-"
|
|
528
|
+
"dax"
|
|
529
|
+
|
|
530
|
+
# description
|
|
531
|
+
msgid "Check if dynamic row level security (RLS) is necessary"
|
|
532
|
+
msgstr "使用动态行级别安全性 (RLS) 会增加内存和性能开销。请研究使用它的利弊。"
|
|
533
|
+
|
|
534
|
+
# description
|
|
535
|
+
msgid ""
|
|
536
|
+
"Avoid using many-to-many relationships on tables used for dynamic row level "
|
|
537
|
+
"security"
|
|
538
|
+
msgstr ""
|
|
539
|
+
"对使用动态行级别安全性的表使用多对多关系可能会导致严重的查询性能下降。当对包含行级安全性的表进行多个多对多关系的 snowflaking "
|
|
540
|
+
"时,这种模式的性能问题会更加复杂。相反,请使用下面文章中所示的模式之一,其中单个维度表与安全表多对一相关。"
|
|
541
|
+
|
|
542
|
+
# description
|
|
543
|
+
msgid "Set IsAvailableInMdx to false on non-attribute columns"
|
|
544
|
+
msgstr ""
|
|
545
|
+
"为了加快处理时间并在处理后节省内存,不应为 MDX 客户端从未用于切片的列构建属性层次结构。换句话说,所有未用作 Sort By Column "
|
|
546
|
+
"或在用户层次结构中引用的隐藏列都应将其 IsAvailableInMdx 属性设置为 false。IsAvailableInMdx 属性与 Direct"
|
|
547
|
+
" Lake 模型无关。"
|
|
548
|
+
|
|
549
|
+
# description
|
|
550
|
+
msgid ""
|
|
551
|
+
"Set 'Data Coverage Definition' property on the DirectQuery partition of a "
|
|
552
|
+
"hybrid table"
|
|
553
|
+
msgstr "设置“数据覆盖率定义”属性可能会提高性能,因为引擎知道何时只能查询表的导入部分,何时需要查询表的 DirectQuery 部分。"
|
|
554
|
+
|
|
555
|
+
# description
|
|
556
|
+
msgid ""
|
|
557
|
+
"Dual mode is only relevant for dimension tables if DirectQuery is used for "
|
|
558
|
+
"the corresponding fact table"
|
|
559
|
+
msgstr ""
|
|
560
|
+
"仅对相应事实数据表位于 DirectQuery 中的维度表/分区使用双模式。在其他情况下(即模型的其余部分处于 Import 模式)使用 Dual "
|
|
561
|
+
"模式可能会导致性能问题,尤其是在模型中的度量数量较高时。"
|
|
562
|
+
|
|
563
|
+
# description
|
|
564
|
+
msgid ""
|
|
565
|
+
"Set dimensions tables to dual mode instead of import when using DirectQuery "
|
|
566
|
+
"on fact tables"
|
|
567
|
+
msgstr "使用 DirectQuery 时,应将维度表设置为双模式,以提高查询性能。"
|
|
568
|
+
|
|
569
|
+
# description
|
|
570
|
+
msgid "Minimize Power Query transformations"
|
|
571
|
+
msgstr ""
|
|
572
|
+
"最大程度地减少 Power Query "
|
|
573
|
+
"转换,以提高模型处理性能。如果可能,最佳做法是将这些转换卸载到数据仓库。此外,请检查您的模型中是否发生了查询折叠。有关查询折叠的更多信息,请参阅下面的文章。"
|
|
574
|
+
|
|
575
|
+
# description
|
|
576
|
+
msgid "Consider a star-schema instead of a snowflake architecture"
|
|
577
|
+
msgstr "一般来说,星型架构是表格模型的最佳架构。既然如此,使用雪花方法就有了有效情况。请检查您的模型并考虑迁移到星型架构。"
|
|
578
|
+
|
|
579
|
+
# description
|
|
580
|
+
msgid "Avoid using views when using Direct Lake mode"
|
|
581
|
+
msgstr ""
|
|
582
|
+
"在 Direct Lake 模式下,视图将始终回退到 DirectQuery。因此,为了获得最佳性能,请使用 Lakehouse 表而不是视图。"
|
|
583
|
+
|
|
584
|
+
# description
|
|
585
|
+
msgid "Avoid adding 0 to a measure"
|
|
586
|
+
msgstr "将 0 添加到度量中以使其不显示空白值可能会对性能产生负面影响。"
|
|
587
|
+
|
|
588
|
+
# description
|
|
589
|
+
msgid "Reduce usage of calculated tables"
|
|
590
|
+
msgstr "将计算表逻辑迁移到数据仓库。如果您的平台上有多个模型,则依赖计算表将导致技术债务和潜在的错位。"
|
|
591
|
+
|
|
592
|
+
# description
|
|
593
|
+
msgid "Reduce usage of calculated columns that use the RELATED function"
|
|
594
|
+
msgstr ""
|
|
595
|
+
"计算列的压缩效果不如数据列,可能会导致处理时间更长。因此,应尽可能避免使用计算列。他们可能更容易避免的一种情况是他们使用 RELATED 函数。"
|
|
596
|
+
|
|
597
|
+
# description
|
|
598
|
+
msgid "Avoid excessive bi-directional or many-to-many relationships"
|
|
599
|
+
msgstr "限制 b-di 和多对多关系的使用。如果超过 30% 的关系是 bi-di 或多对多,则此规则将标记模型。"
|
|
600
|
+
|
|
601
|
+
# description
|
|
602
|
+
msgid "Remove auto-date table"
|
|
603
|
+
msgstr "避免使用自动日期表。确保在 Power BI Desktop 的设置中关闭自动日期表。这将节省内存资源。"
|
|
604
|
+
|
|
605
|
+
# description
|
|
606
|
+
msgid "Date/calendar tables should be marked as a date table"
|
|
607
|
+
msgstr "此规则查找包含单词 'date' 或 'calendar' 的表,因为它们可能应标记为日期表。"
|
|
608
|
+
|
|
609
|
+
# description
|
|
610
|
+
msgid "Large tables should be partitioned"
|
|
611
|
+
msgstr "应对大型表进行分区,以便优化处理。这与 Direct Lake 模式下的语义模型无关,因为它们的每个表只能有一个分区。"
|
|
612
|
+
|
|
613
|
+
# description
|
|
614
|
+
msgid "Limit row level security (RLS) logic"
|
|
615
|
+
msgstr "尝试简化用于行级安全性的 DAX。此规则中的函数的使用可能会卸载到上游系统 (数据仓库)。"
|
|
616
|
+
|
|
617
|
+
# description
|
|
618
|
+
msgid "Model should have a date table"
|
|
619
|
+
msgstr "一般来说,模型通常应该有一个日期表。没有日期表的模型通常没有利用时间智能等功能,或者可能没有结构正确的体系结构。"
|
|
620
|
+
|
|
621
|
+
# description
|
|
622
|
+
msgid "Calculation items must have an expression"
|
|
623
|
+
msgstr "计算项必须具有表达式。如果没有表达式,它们将不会显示任何值。"
|
|
624
|
+
|
|
625
|
+
# description
|
|
626
|
+
msgid "Relationship columns should be of the same data type"
|
|
627
|
+
msgstr ""
|
|
628
|
+
"关系中使用的列应具有相同的数据类型。理想情况下,它们将是整数数据类型(请参阅相关规则 '[格式化] 关系列应为整数数据类型 "
|
|
629
|
+
"')。在关系中拥有不同数据类型的列可能会导致各种问题。"
|
|
630
|
+
|
|
631
|
+
# description
|
|
632
|
+
msgid "Data columns must have a source column"
|
|
633
|
+
msgstr "数据列必须具有源列。没有源列的数据列在处理模型时会导致错误。"
|
|
634
|
+
|
|
635
|
+
# description
|
|
636
|
+
msgid "Set IsAvailableInMdx to true on necessary columns"
|
|
637
|
+
msgstr ""
|
|
638
|
+
"为避免错误,如果列用于对另一列进行排序、用于层次结构、用于变体或按另一列排序,请确保启用属性层次结构。IsAvailableInMdx 属性与 "
|
|
639
|
+
"Direct Lake 模型无关。"
|
|
640
|
+
|
|
641
|
+
# description
|
|
642
|
+
msgid "Avoid the USERELATIONSHIP function and RLS against the same table"
|
|
643
|
+
msgstr ""
|
|
644
|
+
"USERELATIONSHIP 函数不能用于也利用行级安全性 (RLS) 的表。在视觉对象中使用特定度量时,这将生成错误。此规则将突出显示在度量的 "
|
|
645
|
+
"USERELATIONSHIP 函数和 RLS 中使用的表。"
|
|
646
|
+
|
|
647
|
+
# description
|
|
648
|
+
msgid "Avoid using the IFERROR function"
|
|
649
|
+
msgstr ""
|
|
650
|
+
"避免使用 IFERROR 函数,因为它可能会导致性能下降。如果您担心被零除错误,请使用 DIVIDE "
|
|
651
|
+
"函数,因为它自然会将此类错误解析为空白(或者您可以自定义在出现此类错误时应显示的内容)。"
|
|
652
|
+
|
|
653
|
+
# description
|
|
654
|
+
msgid ""
|
|
655
|
+
"Use the TREATAS function instead of INTERSECT for virtual relationships"
|
|
656
|
+
msgstr "当用于虚拟关系时,TREATAS 函数比 INTERSECT 函数更有效,并且提供更好的性能。"
|
|
657
|
+
|
|
658
|
+
# description
|
|
659
|
+
msgid "The EVALUATEANDLOG function should not be used in production models"
|
|
660
|
+
msgstr "EVALUATEANDLOG 函数仅用于开发/测试环境,不应用于生产模型。"
|
|
661
|
+
|
|
662
|
+
# description
|
|
663
|
+
msgid "Measures should not be direct references of other measures"
|
|
664
|
+
msgstr ""
|
|
665
|
+
"此规则标识仅引用另一个度量的度量。例如,考虑一个具有两个度量的模型:[MeasureA] 和 [MeasureB]。如果 MeasureB 的 DAX "
|
|
666
|
+
"为 MeasureB:=[MeasureA],则会为 MeasureB 触发此规则。这种重复的措施应该被删除。"
|
|
667
|
+
|
|
668
|
+
# description
|
|
669
|
+
msgid "No two measures should have the same definition"
|
|
670
|
+
msgstr "应避免使用名称不同且由同一 DAX 表达式定义的两个度量值,以减少冗余。"
|
|
671
|
+
|
|
672
|
+
# description
|
|
673
|
+
msgid ""
|
|
674
|
+
"Avoid addition or subtraction of constant values to results of divisions"
|
|
675
|
+
msgstr "添加常量值可能会导致性能下降。"
|
|
676
|
+
|
|
677
|
+
# description
|
|
678
|
+
msgid "Avoid using '1-(x/y)' syntax"
|
|
679
|
+
msgstr ""
|
|
680
|
+
"不要使用“1-(x/y)”或“1+(x/y)”语法来实现百分比计算,而是使用基本的 DAX "
|
|
681
|
+
"函数(如下所示)。使用改进的语法通常会提高性能。“1+/-...”语法始终返回一个值,而不带 '1+/-...' 的解决方案不会(因为该值可能是 "
|
|
682
|
+
"'blank')。因此,'1+/-...'语法可能会返回更多的行/列,这可能会导致查询速度变慢。 让我们通过一个例子来澄清: 避免这种情况: 1 -"
|
|
683
|
+
" SUM ( 'Sales'[CostAmount] ) / SUM( 'Sales'[SalesAmount] ) 更好: DIVIDE ( SUM "
|
|
684
|
+
"( 'Sales'[SalesAmount] ) - SUM ( 'Sales'[CostAmount] ), SUM ( "
|
|
685
|
+
"'Sales'[SalesAmount] ) ) 最佳: VAR x = SUM ( 'Sales'[SalesAmount] ) RETURN "
|
|
686
|
+
"DIVIDE ( x - SUM ( 'Sales'[CostAmount] ), x )"
|
|
687
|
+
|
|
688
|
+
# description
|
|
689
|
+
msgid "Filter measure values by columns, not tables"
|
|
690
|
+
msgstr ""
|
|
691
|
+
"不要将此模式 FILTER('Table',[Measure]>Value) 用于 CALCULATE 或 CALCULATETABLE 函数的筛选参数,而是使用以下选项之一(如果可能)。对特定列进行筛选将生成一个较小的表供引擎处理,从而实现更快的性能。使用 VALUES 函数或 ALL 函数取决于所需的测量结果。\n"
|
|
692
|
+
"选项 1:FILTER(VALUES('Table'[列]),[度量] > 值)\n"
|
|
693
|
+
"选项 2:FILTER(ALL('Table'[列]),[度量] >值)"
|
|
694
|
+
|
|
695
|
+
# description
|
|
696
|
+
msgid "Filter column values with proper syntax"
|
|
697
|
+
msgstr ""
|
|
698
|
+
"不要将此模式 FILTER('Table','Table'[Column]=“Value”) 用于 CALCULATE 或 CALCULATETABLE 函数的筛选参数,而是使用以下选项之一。至于是否使用 KEEPFILTERS 函数,请参阅下面的第二个参考链接。\n"
|
|
699
|
+
"选项 1:KEEPFILTERS('Table'[column]=“value”)\n"
|
|
700
|
+
"选项 2: 'table'[column]=“value”"
|
|
701
|
+
|
|
702
|
+
# description
|
|
703
|
+
msgid "Use the DIVIDE function for division"
|
|
704
|
+
msgstr "使用 DIVIDE 函数,而不是使用 “/”。DIVIDE 函数解决被零除的情况。因此,建议使用以避免错误。"
|
|
705
|
+
|
|
706
|
+
# description
|
|
707
|
+
msgid "Column references should be fully qualified"
|
|
708
|
+
msgstr "使用完全限定的列引用可以更轻松地区分列引用和度量引用,还有助于避免某些错误。在 DAX 中引用列时,请先指定表名,然后在方括号中指定列名。"
|
|
709
|
+
|
|
710
|
+
# description
|
|
711
|
+
msgid "Measure references should be unqualified"
|
|
712
|
+
msgstr ""
|
|
713
|
+
"使用非限定的度量引用可以更轻松地区分列引用和度量引用,还有助于避免某些错误。使用 DAX 引用度量值时,请勿指定表名称。仅使用方括号中的度量名称。"
|
|
714
|
+
|
|
715
|
+
# description
|
|
716
|
+
msgid "Inactive relationships that are never activated"
|
|
717
|
+
msgstr ""
|
|
718
|
+
"使用 USERELATIONSHIP "
|
|
719
|
+
"函数激活非活动关系。如果未通过此函数在任何度量中引用非活动关系,则不会使用该关系。应确定该关系是否不是必需的,或者是否通过此方法激活该关系。"
|
|
720
|
+
|
|
721
|
+
# description
|
|
722
|
+
msgid "Remove unnecessary columns"
|
|
723
|
+
msgstr "应删除未被任何 DAX 表达式、关系、层次结构级别或 Sort By 属性引用的隐藏列。"
|
|
724
|
+
|
|
725
|
+
# description
|
|
726
|
+
msgid "Remove unnecessary measures"
|
|
727
|
+
msgstr "为了便于维护,应删除未被任何 DAX 表达式引用的隐藏度量值。"
|
|
728
|
+
|
|
729
|
+
# description
|
|
730
|
+
msgid "Ensure tables have relationships"
|
|
731
|
+
msgstr "此规则突出显示未通过关系连接到模型中任何其他表的表的表。"
|
|
732
|
+
|
|
733
|
+
# description
|
|
734
|
+
msgid "Calculation groups with no calculation items"
|
|
735
|
+
msgstr "除非计算组具有计算项,否则它们没有功能。"
|
|
736
|
+
|
|
737
|
+
# description
|
|
738
|
+
msgid "Visible objects with no description"
|
|
739
|
+
msgstr ""
|
|
740
|
+
"为对象添加描述。将鼠标悬停在 Power BI Desktop 的字段列表中时,会显示这些描述。此外,您还可以利用这些描述创建自动数据字典。"
|
|
741
|
+
|
|
742
|
+
# description
|
|
743
|
+
msgid "Provide format string for 'Date' columns"
|
|
744
|
+
msgstr "名称中包含“Month”的“DateTime”类型的列应格式化为“mm/dd/yyyy”。"
|
|
745
|
+
|
|
746
|
+
# description
|
|
747
|
+
msgid "Do not summarize numeric columns"
|
|
748
|
+
msgstr "数值列(整数、小数、双精度)的 SummarizeBy 属性应设置为“无”,以避免在 Power BI 中意外求和(改为创建度量值)。"
|
|
749
|
+
|
|
750
|
+
# description
|
|
751
|
+
msgid "Provide format string for measures"
|
|
752
|
+
msgstr "应为 Visible 度量分配其 format string 属性。"
|
|
753
|
+
|
|
754
|
+
# description
|
|
755
|
+
msgid "Add data category for columns"
|
|
756
|
+
msgstr "为相应的列添加 Data Category 属性。"
|
|
757
|
+
|
|
758
|
+
# description
|
|
759
|
+
msgid ""
|
|
760
|
+
"Percentages should be formatted with thousands separators and 1 decimal"
|
|
761
|
+
msgstr "为了获得更好的用户体验,percengage 度量的格式应为“%”号。"
|
|
762
|
+
|
|
763
|
+
# description
|
|
764
|
+
msgid ""
|
|
765
|
+
"Whole numbers should be formatted with thousands separators and no decimals"
|
|
766
|
+
msgstr "为了获得更好的用户体验,整数的格式应使用逗号。"
|
|
767
|
+
|
|
768
|
+
# description
|
|
769
|
+
msgid "Hide foreign keys"
|
|
770
|
+
msgstr "外键应始终隐藏,因为最终用户不应使用它们。"
|
|
771
|
+
|
|
772
|
+
# description
|
|
773
|
+
msgid "Mark primary keys"
|
|
774
|
+
msgstr "将列属性中主键列的 'Key' 属性设置为 'True'。"
|
|
775
|
+
|
|
776
|
+
# description
|
|
777
|
+
msgid "Month (as a string) must be sorted"
|
|
778
|
+
msgstr ""
|
|
779
|
+
"此规则突出显示字符串且未排序的月份列。如果未排序,它们将按字母顺序排序(即 "
|
|
780
|
+
"April、August...确保对此类列进行排序,以便它们正确排序(一月、二月、三月......"
|
|
781
|
+
|
|
782
|
+
# description
|
|
783
|
+
msgid "Relationship columns should be of integer data type"
|
|
784
|
+
msgstr "关系列最好为整数数据类型。这不仅适用于数据仓库,也适用于数据建模。"
|
|
785
|
+
|
|
786
|
+
# description
|
|
787
|
+
msgid "Provide format string for \"Month\" columns"
|
|
788
|
+
msgstr "名称中包含“Month”的“DateTime”类型的列应格式化为“MMMM yyyy”。"
|
|
789
|
+
|
|
790
|
+
# description
|
|
791
|
+
msgid "Format flag columns as Yes/No value strings"
|
|
792
|
+
msgstr "标志必须正确格式化为 Yes/No,因为这比使用 0/1 整数值更容易阅读。"
|
|
793
|
+
|
|
794
|
+
# description
|
|
795
|
+
msgid "Objects should not start or end with a space"
|
|
796
|
+
msgstr "对象不应以空格开头或结尾。这通常是偶然发生的,很难找到。"
|
|
797
|
+
|
|
798
|
+
# description
|
|
799
|
+
msgid "First letter of objects must be capitalized"
|
|
800
|
+
msgstr "对象名称的首字母应大写,以保持专业质量。"
|
|
801
|
+
|
|
802
|
+
# description
|
|
803
|
+
msgid "Object names must not contain special characters"
|
|
804
|
+
msgstr "对象名称不应包含制表符、换行符等。"
|