Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
carolynhn25
Frequent Visitor

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)
carolynhn25_0-1665964537837.png

 

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

carolynhn25_0-1665964148856.png

 

 

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

1 ACCEPTED SOLUTION

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.

vtangjiemsft_1-1666145045505.png

(2)Drillthrough across pages.

vtangjiemsft_2-1666145075133.png

 

(3)Then the result is as follows.

vtangjiemsft_3-1666145149006.png

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. 

View solution in original post

4 REPLIES 4
v-tangjie-msft
Community Support
Community Support

Hi @carolynhn25 ,

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

vtangjiemsft_0-1665991619752.png

Then the result is as follows.

vtangjiemsft_1-1665991644068.png

 

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. 

 

Hi @v-tangjie-msft  - 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

carolynhn25_0-1666123507146.pngcarolynhn25_1-1666123608573.png

 

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.

vtangjiemsft_1-1666145045505.png

(2)Drillthrough across pages.

vtangjiemsft_2-1666145075133.png

 

(3)Then the result is as follows.

vtangjiemsft_3-1666145149006.png

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. 

Hi @v-tangjie-msft  - Thank you SO much! This worked perfectly!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.