Forum Discussion
PraveenMRRP
2 years agoFrequent Visitor
Conditional Formatting on Matrix - Comparing Values per Previous Quarters Dynamically
Hi all, Hoping to get some assistance - I have seen many posts that have similar issues, however, unable to get this to work myself. I require that every quarter should compare with previo...
vicky_
2 years agoSuper User
I first created a measure to calculate the change % -
Change (%) =
var prevAmt = CALCULATE(SUM('Table (2)'[Amt]), PREVIOUSQUARTER('Table (2)'[Date]))
var currentAmt = SUM('Table (2)'[Amt])
var change = (currentAmt - prevAmt) / currentAmt
return IF(ISBLANK(prevAmt), BLANK(), change)
Then go to Format Visual > Cell Elements > Font Colour > fx
and use the following settings:
Format style = Rules
What field should we base this on = Change (%) Note: this is the measure I created earlier
Rules = If value >= 0 percent and < 0.1 number then colour.
- PraveenMRRP2 years agoFrequent Visitor
Hi,
I tried but not getting required result
Sharing pbix file for reference
https://drive.google.com/file/d/13Rk5xfCJtfJ_xpkK9etwqGMdWREx0RL7/view?usp=sharing