Skip to main content
cancel
Showing results for 
Search instead 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

Reply
AllanBerces
Post Patron
Post Patron

Arrow up and Down

Hi good day can anyone assist me, is it possible to add the up and down arrow inside % actual column instead of a new column like what i have. 

 

AllanBerces_0-1722498352994.png

thank you

1 ACCEPTED SOLUTION

Hi @AllanBerces ,

I create a table as you mentioned.

vyilongmsft_0-1722575357034.png

Then I create a measure as bhanu_gautam said.

% Actual with Arrow =
MAX ( 'Table'[%_Actual] ) & " "
    & IF (
        MAX ( 'Table'[%_Actual] ) > 0.7,
        "▲",
        IF ( MAX ( 'Table'[%_Actual] ) < 0.7, "▼", "" )
    )

vyilongmsft_1-1722575866960.png

I create another measure and here is the DAX code.

Measure = IF(RIGHT([% Actual with Arrow],1)="▼","Red","Green")

Then I choose Conditional formatting and go to Font color.

vyilongmsft_2-1722575994860.png

vyilongmsft_3-1722576017060.png

Finally you will get what you want.

vyilongmsft_4-1722576069385.png

 

 

Best Regards

Yilong Zhou

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

7 REPLIES 7
sroy_16
Resolver II
Resolver II

Hello,

 

You can directly add conditional fomratting on your existing table/matrix visual with the below steps.

  • Apply Conditional Formatting:

    • Click on the table visual to select it.
    • Go to the Format pane (paint roller icon).
    • Expand the Conditional Formatting section.
    • Choose the column where you want to apply the formatting.
    • Select Icons (you can also use Data bars , but Icons are more suited for up/down arrows).
  • Configure Icon Formatting:

    • In the Icons dialog box, choose to format by Rules.
    • Set up the rules to display icons based on the values in the column:
      • For Up Arrow: Set a rule for when the percentage change or value is greater than or equal to a certain threshold.
      • For Down Arrow: Set a rule for when the percentage change or value is less than a certain threshold.
    • You can customize the appearance by selecting the icons you want to use (up and down arrows) and defining their conditions.
  • Customize Icons:

    • You can customize the icons and their colors under the Icon settings. Choose appropriate icons that match your report's design and color scheme.

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

 

bhanu_gautam
Super User
Super User

@AllanBerces , You can use DAX for this

 

 % Actual with Arrow =
   [% Actual] & " " &
   IF(
       [% Actual] > 0,
       "▲",
       IF(
           [% Actual] < 0,
           "▼",
           ""
       )
   )
 
Go through below video for details https://www.youtube.com/watch?v=9c3Pgxx5LyU



Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi @bhanu_gautam thank you for your reply, when i try your solution it shows like

AllanBerces_0-1722563205812.png

is it possilble to change if in percentage, and change the color to red if down and greeen if up together with the value.

 

AllanBerces_1-1722563502926.png

Thank you

Hi @AllanBerces ,

I create a table as you mentioned.

vyilongmsft_0-1722575357034.png

Then I create a measure as bhanu_gautam said.

% Actual with Arrow =
MAX ( 'Table'[%_Actual] ) & " "
    & IF (
        MAX ( 'Table'[%_Actual] ) > 0.7,
        "▲",
        IF ( MAX ( 'Table'[%_Actual] ) < 0.7, "▼", "" )
    )

vyilongmsft_1-1722575866960.png

I create another measure and here is the DAX code.

Measure = IF(RIGHT([% Actual with Arrow],1)="▼","Red","Green")

Then I choose Conditional formatting and go to Font color.

vyilongmsft_2-1722575994860.png

vyilongmsft_3-1722576017060.png

Finally you will get what you want.

vyilongmsft_4-1722576069385.png

 

 

Best Regards

Yilong Zhou

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

@v-yilong-msft @bhanu_gautam @sroy_16 thank you for your support. working fine now.

Hi @v-yilong-msft can i know what is the 0.7 on the measure you created.

AllanBerces_0-1722665559199.png

Basically what i required is if the % Actual is higher the % Daily then Green value and up arrow, if below then Red value and down arrow.

 

Thank you

 

 

Go thorugh the video link which I have shaared it has similar scenario with color




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
Europe Fabric Conference

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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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