March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I made two measures to find the sales amount for this day and the previous day. Now, I want to make a comparison between the amounts. I want to use an up arrow icon and a down arrow icon to show me which value is higher than the other.
I mean like this
I tried to use conditional formatting, but it is difficult to add a measure for comparison."
Solved! Go to Solution.
Hi @amal_01,
I'm not sure what your measures are called but hopefully the below generic example will help.
Conditional measure...
__SalesIcon =
SWITCH(
TRUE()
, [Sales] > [Sales SPLY], "TriangleHigh"
, "TriangleLow"
)
You can see the icon names in this article.
https://radacad.com/power-bi-icon-names-for-conditional-formatting-using-dax
Apply this to the cell elements...
Here the field settings are applied using the measure...
I hope this helps.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
Hi @amal_01,
I'm not sure what your measures are called but hopefully the below generic example will help.
Conditional measure...
__SalesIcon =
SWITCH(
TRUE()
, [Sales] > [Sales SPLY], "TriangleHigh"
, "TriangleLow"
)
You can see the icon names in this article.
https://radacad.com/power-bi-icon-names-for-conditional-formatting-using-dax
Apply this to the cell elements...
Here the field settings are applied using the measure...
I hope this helps.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |