Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Down and up arrow Indicators inside a score card and Changing the color based on conditions

Hi,

I need an urgent help. I am very new to Power BI. I am displaying Down and Up arrow indicators inside a Score Card. But as per my project requirement they want coloured arrows.

I am facing issue with unichar color code.

This is the requirement as below:

Arrows to be used to show the movement as per the status quo. Logic for the arrow and colour is mentioned below

Arrows are derived based on the values compared between current month column (Nov-18) and previous month column (Oct-18)
Nov-18 = Oct-18 display balanced symbol in black
Nov-18 < Oct-18 display Down arrow and the difference is 1 or 2 then in Yellow color
Nov-18 < Oct-18 display Down arrow and the difference is more than 2 then in Red color
Nov-18 > Oct-18 display Up arrow and the difference is 1 or 2 then in Yellow color
Nov-18 > Oct-18 display Up arrow and the difference is more than 2 then in Green color

Business UnitBusiness Unit Group18-Nov18-OctSymbolsArrowsMoM Diff
GroupGroup20200
C&SBC&SB Overall2627-1
C&SBSales and Activation40391
C&SBModify52511
C&SBMove2529-4
C&SBFirst Bill11101
C&SBAssurance49-5
Enterprise OverallEnterprise Overall770
TE-A OverallTE-A Overall770
TE-A OverallAssurance-20-4-16
TE-A OverallO2A/MACs341915

 


Thanks In Advance

Tanu

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

Though I haven't found the unichar for yellow and green symbol, as a workaround, you can also refer to pattern below:

Symbol = 
VAR flag = 'Table'[18-Nov] - 'Table'[18-Oct]
RETURN
    SWITCH (
        TRUE (),
        flag = 0, "↔",
        flag < 0
            && (
                ABS ( flag ) = 1
                    || ABS ( flag ) = 2
            ), UNICHAR ( 128317 ),
        flag < 0
            && ABS ( flag ) > 2, UNICHAR ( 128315 ),
        flag > 0
            && (
                ABS ( flag ) = 1
                    || ABS ( flag ) = 2
            ), UNICHAR ( 128316 ),
        flag > 0
            && ABS ( flag ) > 2, UNICHAR ( 128314 )
    )

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

Though I haven't found the unichar for yellow and green symbol, as a workaround, you can also refer to pattern below:

Symbol = 
VAR flag = 'Table'[18-Nov] - 'Table'[18-Oct]
RETURN
    SWITCH (
        TRUE (),
        flag = 0, "↔",
        flag < 0
            && (
                ABS ( flag ) = 1
                    || ABS ( flag ) = 2
            ), UNICHAR ( 128317 ),
        flag < 0
            && ABS ( flag ) > 2, UNICHAR ( 128315 ),
        flag > 0
            && (
                ABS ( flag ) = 1
                    || ABS ( flag ) = 2
            ), UNICHAR ( 128316 ),
        flag > 0
            && ABS ( flag ) > 2, UNICHAR ( 128314 )
    )

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Is it really possible to show conditional colour indicators inside a score card?

Anonymous
Not applicable

Did you manage to find a solution for this ? I am also trying to figure out if you can apply conditional formating to arrows in a score card 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors