Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I am creating a report containing conditional formatting with Icons.
In the screenshot, I am comparing prior Vs current. If the current is less than prior then M/M trend would show Green down arrow, instead of Red arrow. In the calculation I used predefined icons name and convert then to Icon (screenshot attached). Can someone help me to change the downward arrow color from Red to Green.
thanks,
Solved! Go to Solution.
Hi @ayush_mriti ,
You can make the following adjustment to get it, please find the details in the attachment.
1. Update the formula of measure [fmm] as below
Conditional formatting =
SWITCH (
TRUE (),
[Current] > [Prior], 1,
[Current] < [Prior], 2,
[Current] = [Prior], 3
)
2. Change the conditional formatting configuration
Best Regards
Hi @ayush_mriti , Replace your dax with the below one.
fmm = SWITCH(
TRUE(),
[Current] > [Prior],"ColoredArrowUp",
[Current] > [Prior],"ColoredArrowDownGreen",
[Current] = [Prior],"TriangleMedium")
Did I answer your question ? Please mark this post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
Both the solution worked. Thanks a lot!
Hi @ayush_mriti , Replace your dax with the below one.
fmm = SWITCH(
TRUE(),
[Current] > [Prior],"ColoredArrowUp",
[Current] > [Prior],"ColoredArrowDownGreen",
[Current] = [Prior],"TriangleMedium")
Did I answer your question ? Please mark this post as a solution.
Thanks,
Jai
Proud to be a Super User! | |
Hi @ayush_mriti ,
You can make the following adjustment to get it, please find the details in the attachment.
1. Update the formula of measure [fmm] as below
Conditional formatting =
SWITCH (
TRUE (),
[Current] > [Prior], 1,
[Current] < [Prior], 2,
[Current] = [Prior], 3
)
2. Change the conditional formatting configuration
Best Regards
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
64 | |
49 | |
45 |