Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I would like a conditional formatting rule, like:
Please illuminate me:
Thank YOU!
Hi @webportal ,
Please try creating a new measure:
Color =
VAR __diff = DIVIDE([ThisYear], [PrevYear])-1
VAR __result = IF(__diff < 0, "Red", "Green")
RETURN
__result
And apply it to the field value:
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hello @Anonymous
Ok, but then for each measure I want a conditional formatting, I'll need another measure.
There should be a better way.
Try this
Please click the thumbs up and accept solution buttons.
Try learn basic Power BI with these free links efore asking more simple questions. Thanks.
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting
https://www.youtube.com/watch?v=IgYiWRPqIZU
Hello,
Here it is:
@webportal , Can you provide details of column and conditions
Proud to be a Super User! |
|
Yes, it's just a annuall sales variation.
DIVIDE([ThisYear], [PrevYear])-1
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |