Forum Discussion
Formatting Arrow in Card
Hello,
So i have a Single Value Card like below
I`d like to add a Green Arrow Up/ Red Arrow Down depends on the results of another DAX measure:
Measure =
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:
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.
5 Replies
- PaulDBrownCommunity Champion
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:
- HaidannxHelper I
OMG
Many thanks 🙂
- v-xuding-msftCommunity Support
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.
- wzkoralAdvocate II
Hi
1. Get from market place custom visual : Infographic Designer
2. Make to visual dependend on tha same valueu and group them just like that
https://www.youtube.com/watch?v=zHzSBNES6jEPs. Please mark this as solution if this help you