cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ArturDj
Frequent Visitor

Matrix value columns Conditional Formatting

Hi All,

 

I am looking for some help with conditional formatting; i have created a training matrix that requires the status column to be orange if the training completed date has been completed and the re-audit date is blank, and if both the training completed date and Re-audit date is populated then the status should turn green.

 

This is how my columns look in the matrix table:

ArturDj_0-1626770121412.png

 

Thank you

 

1 ACCEPTED SOLUTION

Hi @ArturDj ,

 

try the following measure for formatting.

CF =
IF (
    MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
        && MIN ( 'Audit Record'[Re Audit Date] ) = BLANK (),
    "#E66C37",
    IF (
        MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
            && MIN ( 'Audit Record'[Re Audit Date] ) <> BLANK (),
        "#00FF00",
        BLANK ()
    )
)

 

CF_TrainStatus.pngCF_TrainStatus2.png

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #
"Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website


View solution in original post

4 REPLIES 4
mwegener
Super User
Super User

Hi @ArturDj ,

 

can you provide an example PBIX?

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #
"Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website


ArturDj
Frequent Visitor

Hi @mwegener,

 

Please find an example pbix file: https://1drv.ms/u/s!AqpscUO4vhcRkgmpWKu5Wt-ET72b?e=zVyx33

 

Thank you

Hi @ArturDj ,

 

try the following measure for formatting.

CF =
IF (
    MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
        && MIN ( 'Audit Record'[Re Audit Date] ) = BLANK (),
    "#E66C37",
    IF (
        MIN ( 'Training Records'[DateTrainingCompleted] ) <> BLANK ()
            && MIN ( 'Audit Record'[Re Audit Date] ) <> BLANK (),
        "#00FF00",
        BLANK ()
    )
)

 

CF_TrainStatus.pngCF_TrainStatus2.png

 

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #
"Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website


View solution in original post

ArturDj
Frequent Visitor

Hi @mwegener ,

 

That worked perfectly! 

 

Thank you

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.