cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PaulDBrown
Super User
Super User

Conditional Formatting a table: can someone confirm it's me?

Hi everyone,

 

I hope you and your family and friends are all safe and healthy in these difficult times.

 

I have suddenly come across a problem trying to format a table conditionally, and I really cannot work out what is wrong (probably something pretty dumb, but I can't "see" the issue. Basically I'm trying to format a value conditionally (I've tried backround colour, font colour and icons...) but there seems to be a problem, since the function only seems to recognise the first parameter. If this parameter isn't met, then the subsequent formatting seems to be ignored. (not sure if it a bug)

 

Here is a screenshot:

 

Prob.jpg

Can aynone shed any light?

 

Thanks.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi  @PaulDBrown 

Please refer to red part of this document:

Considerations and limitations

There are a few considerations to keep in mind when working with conditional table formatting:

  • Conditional formatting applies only to the values of Table or Matrix visuals, and doesn't apply to any subtotals, grand totals, or the Total row.
  • Any table that doesn't have a grouping is displayed as a single row that doesn't support conditional formatting.
  • You can't apply gradient formatting with automatic maximum/minimum values, or rule-based formatting with percentage rules, if your data contains NaN values. NaN means "Not a number," most commonly caused by a divide by zero error. You can use the DIVIDE() DAX function to avoid these errors.

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#considerations-and-li...

 

Regards,

Lin

Community Support Team _ Lin
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

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi  @PaulDBrown 

Please refer to red part of this document:

Considerations and limitations

There are a few considerations to keep in mind when working with conditional table formatting:

  • Conditional formatting applies only to the values of Table or Matrix visuals, and doesn't apply to any subtotals, grand totals, or the Total row.
  • Any table that doesn't have a grouping is displayed as a single row that doesn't support conditional formatting.
  • You can't apply gradient formatting with automatic maximum/minimum values, or rule-based formatting with percentage rules, if your data contains NaN values. NaN means "Not a number," most commonly caused by a divide by zero error. You can use the DIVIDE() DAX function to avoid these errors.

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#considerations-and-li...

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Pragati11
Super User
Super User

HI @PaulDBrown ,

 

Is there any default filter on your dashboard that is displaying only one value?

Can you share your .pbix file?

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors