cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Helper I

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 =

[Transaction from Yesterday] - [Transaction from the day before yesterday]
if the result >0 then there will be a Green Arrow Up stading next to the indicator and vice versa.

Anyone how can i achieved that ?
Many thanks
2 ACCEPTED SOLUTIONS
Community 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:

In doing so, you are also helping me. Thank you!

Proud to be a Super User!

Community 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.

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 5
Community 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.

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.
Community 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:

In doing so, you are also helping me. Thank you!

Proud to be a Super User!

Helper I

OMG

Many thanks 🙂

Super User

You can also use KPI card from visualization pane and enter relevent fields to get the result.

Don't forget to give thumbs up 👍and accept this as a solution if it helped you.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

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

Announcements

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.