Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi @BeginnerBI
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.
Hi @BeginnerBI
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.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
70 | |
43 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
27 |