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
Shenee
Helper I
Helper I

Conditional format: This Year vs Last Year

Hi Guys,

 

I have a matrix table (see link attached) showing the values this year and values for the same period last year. What is the best way to include green, amber or red arrows next to this year's figures. So it should be green if the figure is greater than the previous year, amber if the figure is the same and red if this year's figure is less than last year's.

 

https://1drv.ms/u/s!AhEw68UYqcc6gxh5JbUie_w1e52L?e=y4k7tb

1 ACCEPTED SOLUTION
Shenee
Helper I
Helper I

Hi All,

I managed to sort it out by intially creating a calculated field using a switch statement and then using the outcome values of the switch statement to create a conditional format using icon arrows only.conditional formatconditional formatswitch statementswitch statement

View solution in original post

2 REPLIES 2
Shenee
Helper I
Helper I

Hi All,

I managed to sort it out by intially creating a calculated field using a switch statement and then using the outcome values of the switch statement to create a conditional format using icon arrows only.conditional formatconditional formatswitch statementswitch statement

Hi @Shenee ,

It's glad to hear that your problem has been resolved. And thanks for sharing your solution here. Could you please mark your post as Answered if there is no anything else need to help about this thread? It will help the others in the community find the solution easily if they face the same problem as yours.  Thank you.

Best Regards

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

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.