Forum Discussion
Change column from matrix columns
Is there a simple way to check for changes between 1 & 2 in the image below. If there is a change I want to show the row. If no change then don't show row.
JaromBIDEVatDK , You have to create a measure to get that change. and then you can use conditional formatting
How to do conditional formatting by measure and apply it on pie? : https://youtu.be/RqBb5eBf_I4
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
2 Replies
- amitchandakSuper User
JaromBIDEVatDK , You have to create a measure to get that change. and then you can use conditional formatting
How to do conditional formatting by measure and apply it on pie? : https://youtu.be/RqBb5eBf_I4
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. - JaromBIDEVatDKHelper II
Thank you - Here is generally what I did for the measure to help others out if they come across this.
Measure =
var oneCol = Calculate(Max(Attribute), Filter(AllExcept(emptable, employee), value = 1)
var twoCol = Calculate(Max(Attribute), Filter(AllExcept(emptable, employee), value = 2)
if(oneCol <> twoCol, 1 (or the difference))
In my case I didn't actually want the change column I wanted simply to hide rows that didn't change. So, with the measure above, I just put it on the visual filter, set the advanced option to "is" 1 and viola.