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

conditional icon (arrows0

Hello guys,

1 ACCEPTED SOLUTION
Community Support

You can refer to the following example

The data table

The measure to be put to the value in matrix visual

``Total = SUM('Table'[Value])``

Then create measure to set the icon rules

``````Rules = var _previousdate=MAXX(FILTER(ALLSELECTED('Table'),[Date]<MAX([Date])),[Date])
var _previousvalues=CALCULATE([Total],'Table'[Date]=_previousdate)
return SWITCH(TRUE(),OR([Total]=_previousvalues,_previousvalues=0),1,[Total]>_previousvalues&&_previousvalues<>0,2,[Total]<_previousvalues&&_previousvalues<>0,3)``````

Then put the measure to the conditional formatting

Then choose the measure in the field and set the rules below

Output

Best Regards!

Yolo Zhu

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

Community Support

You can refer to the following example

The data table

The measure to be put to the value in matrix visual

``Total = SUM('Table'[Value])``

Then create measure to set the icon rules

``````Rules = var _previousdate=MAXX(FILTER(ALLSELECTED('Table'),[Date]<MAX([Date])),[Date])
var _previousvalues=CALCULATE([Total],'Table'[Date]=_previousdate)
return SWITCH(TRUE(),OR([Total]=_previousvalues,_previousvalues=0),1,[Total]>_previousvalues&&_previousvalues<>0,2,[Total]<_previousvalues&&_previousvalues<>0,3)``````

Then put the measure to the conditional formatting

Then choose the measure in the field and set the rules below

Output

Best Regards!

Yolo Zhu

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

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.

Power BI Monthly Update - June 2024

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

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors