cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User III
Super User III

Re: Matrix conditional formatting if value is lower then previous year then red

Hi @Johnlogistic ,

 

This is the same type of information I made my mockup, and it worked, can you share a sample of your file trough private message? With data from both year to check what can be happening?

 

Regards,

MFelix


Regards

Miguel Felix


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!




Highlighted
Johnlogistic Regular Visitor
Regular Visitor

Re: Matrix conditional formatting if value is lower then previous year then red

Managed to fix it by instead of count using sum in the formale since my table already"counts" the values. 

Condittional formatting =
SWITCH (
TRUE (),
SUM('Export'[COUNT] )
< CALCULATE (
SUM('Export'[COUNT] ),
SAMEPERIODLASTYEAR ( DateTable[Date])
), "#ff8800")
image.png
final result
Extra credit to @MFelix  for all the help provided!

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors