This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I have a viz which contains a table/many columns. I want to highlight cells in a column where the value is the same as the value the row above/below it. In this case a column not pictured here is common to both values needing to be highlighted. In this example I have two dupes (4 cells) which would be highlighed. Is this type of conditional formatting possible?
Solved! Go to Solution.
A little more detail and still getting an error:
Otherwise I understand the example and I think I'm close. I'm excited as it looks like from your example it's possible.
Hi @jjoerger,
Please try to change all the semicolon of your formula to comma.
Regards,
Frank
As I know, it is a bit complicated: First you have to know an order of rows - months for example.
After that, you can create new measure, which look for previous and next month.
For example, i created a month table with month numbers and added some values for each month. Then i created a measure test, which returns one or zero if in next or previous month number is the same. After that you can create conditional formating based on measure Test.
Test = VAR mnth = min(Months[Month]) --Check which value is in current month, it can be also average, max... VAR x = CALCULATE(sum(Months[Numbers]);filter(all(Months);Months[Month]=mnth-1)) VAR y = CALCULATE(sum(Months[Numbers]);filter(all(Months);Months[Month]=mnth+1)) VAR crrnt = sum(Months[Numbers]) RETURN if(x=crrnt || y = crrnt;1;0) //if previous or next month is the same, then return 1 else return 0
A little more detail and still getting an error:
Otherwise I understand the example and I think I'm close. I'm excited as it looks like from your example it's possible.
Hi @jjoerger,
Please try to change all the semicolon of your formula to comma.
Regards,
Frank
Thank you kindly
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 50 | |
| 30 | |
| 23 | |
| 23 |