Forum Discussion

carolynhn25's avatar
carolynhn25
Advocate III
3 years ago
Solved

Conditional Formatting Doesn't Work with Drillthrough

Hello! I am running into some issues with conditional formatting and using drillthrough, and am hoping someone is able to help. 

 

I have conditional formatting set up on a matrix visual so when a data point is greater than 0%, a specific icon appears. This is working as it should be until drillthrough from a different page is utilized. I have drillthrough set up on a different page in the report which brings you to that matrix visual, and when doing so the conditional formatting isn't working as it should be (there are icons appearing next to some data points of 0%).

 

I can't figure out why this is the case. At first I thought maybe it was because we are only drilling-through on one specific data point but there are other data points in the matrix as well. But if that is the case, is there a recommended resolution? I've included photos below to try to demonstrate this, and also included an example of the DAX formulas being used in the matrix visual. 

 

I am using the below DAX formula to get the # 

Property Reconciliation Type_# Available =
VAR A = CALCULATE(DISTINCTCOUNTNOBLANK('Latest Sync_Property'[Tenant, Configuration, Property]), FILTER('Latest Sync_Property', 'Latest Sync_Property'[Latest Sync.Property Reconciliation Type] = "Available from Baseline"))
    RETURN
    IF(ISBLANK(A), 0,A)

 

And I am using this DAX formula to get the % that displays in the matrix visual

Property Reconciliation Type_% Available = [Property Reconciliation Type_# Available] / [Property Reconciliation Type_# Total]
 
Here you will see the conditional formatting is working (and no drillthrough is applied)

 

And here is where drillthrough is now applied, and the conditional formatting is no longer working correctly

 

 

Thank you in advance for any help/advice you're able to offer!!

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi carolynhn25 ,

     

    Refer to this document ,if the field the formatting is based on contains percentages, write the numbers in the rules as decimals, which are the actual values.

     

    You can set it as shown in the image below.

    (1)Set conditional formatting.

    (2)Drillthrough across pages.

     

    (3)Then the result is as follows.

    Best Regards,

    Neeko Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

4 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi carolynhn25 ,

    You can try this method as below screenshot shown: Set [if value>=0.00000001].

    Then the result is as follows.

     

    Best Regards,

    Neeko Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

     

    • carolynhn25's avatar
      carolynhn25
      Advocate III

      Hi Anonymous  - Thank you so much for your reply! 

       

      I set the formatting rules to [if value>=0.00000001] and then tried the drill-through feature from the other page, but unfortunately some values of 0.00% are still showing (only after I drill-through). Does conditional formatting not work when using the drill-through feature?

       

      Below is another screenshot of the view after using drill-through, as well as a screenshot of the drill through section on the right hand side of the report

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi carolynhn25 ,

         

        Refer to this document ,if the field the formatting is based on contains percentages, write the numbers in the rules as decimals, which are the actual values.

         

        You can set it as shown in the image below.

        (1)Set conditional formatting.

        (2)Drillthrough across pages.

         

        (3)Then the result is as follows.

        Best Regards,

        Neeko Tang

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.