Forum Discussion
Formatting Arrow in Card
- 6 years ago
If you want to set it up yourself, you can follow these steps:
1) Create a new measure for the arrow based on the measure it refers to:
Arrow = IF([% Forecast vs Target]>0; UNICHAR(11014); UNICHAR(11015))2) Create a conditional formatting measure to return green or red:
Arrow Condit Format = IF([% Forecast vs Target]>0; 2; 1)3) Create a new card visual and use the measure for the arrow as your value:
4) Go to the formatting options for the visual and under "Data Label" select the elipsis to access conditional formatting options:
5) Select the measure you have created for the conditional formatting and set the parameters.
6) Drag the arrow visual on top of the value card visual. Select the arrow visual, go to Format and choose "Bring to front":
7) (Optional) Select both card visuals by ctrl + clicking on each, right-click and select "Group".
and you will get this result:
You can of course use the conditional formatting measure to format other elements in the card visual:
- 6 years ago
Hi Haidannx ,
You could reference my sample to have a try.
Measure = IF([Diff] >= 0, [Diff] & "⇧", [Diff] & "⇩") Measure 2 = IF([Diff]>=0, "green","Red")Please see the attachment for more details.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If you want to set it up yourself, you can follow these steps:
1) Create a new measure for the arrow based on the measure it refers to:
Arrow = IF([% Forecast vs Target]>0;
UNICHAR(11014);
UNICHAR(11015))
2) Create a conditional formatting measure to return green or red:
Arrow Condit Format = IF([% Forecast vs Target]>0; 2; 1)
3) Create a new card visual and use the measure for the arrow as your value:
4) Go to the formatting options for the visual and under "Data Label" select the elipsis to access conditional formatting options:
5) Select the measure you have created for the conditional formatting and set the parameters.
6) Drag the arrow visual on top of the value card visual. Select the arrow visual, go to Format and choose "Bring to front":
7) (Optional) Select both card visuals by ctrl + clicking on each, right-click and select "Group".
and you will get this result:
You can of course use the conditional formatting measure to format other elements in the card visual:
OMG
Many thanks 🙂