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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.