chore: update report visuals, semantic model definitions, and cleanup legacy queries

This commit is contained in:
2026-05-14 10:11:41 +08:00
parent 7118b73c5b
commit 84ae943bdb
50 changed files with 1949 additions and 902 deletions

View File

@@ -0,0 +1,20 @@
DEFINE
FUNCTION Switch_Unit_Value = (unit , O_Value) =>
SWITCH(
unit,
"RMB", O_Value,
"K RMB", O_Value / 1000,
"M RMB", O_Value / 1000000,
"USD", DIVIDE(
O_Value,
[ExchangeRate]
),
"K USD", DIVIDE(
O_Value,
[ExchangeRate]
) / 1000,
"M USD", DIVIDE(
O_Value,
[ExchangeRate]
) / 1000000
)