20260428
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
"tabOrder": [
|
||||
"Query 1",
|
||||
"Query 2",
|
||||
"Query 3"
|
||||
"Query 3",
|
||||
"Query 4"
|
||||
],
|
||||
"defaultTab": "Query 3"
|
||||
"defaultTab": "Query 4"
|
||||
}
|
||||
20
External All Channel.SemanticModel/DAXQueries/Query 4.dax
Normal file
20
External All Channel.SemanticModel/DAXQueries/Query 4.dax
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user