我正在尝试使用下面的代码创建自定义工具提示。我想向左对齐Result
。提前谢谢了。
measure =
VAR diffs = SWITCH(
TRUE(),
[Week%Change@AOP24] < 0,
UNICHAR(10004), UNICHAR(10008))
//UNICHAR(9989), BLANK())
VAR Result = // Need to align to the LEFT
"CW @AOP24: " & FORMAT( [CW @AOP24], "$#,0") & UNICHAR ( 10 ) &
"PW @AOP24: " & FORMAT( [PW @AOP24], "$#,0") & UNICHAR ( 10 ) &
"Change @AOP24: " & FORMAT( [CWvsPWatAOP24], "$#,0") & " (" & FORMAT([Week%Change@AOP24], "Percent") & ") " & diffs
RETURN Result