This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
I am trying to get the conditional formatting to work on my cards. I am looking at Inventory data and have Age Buckets that have goals associated with it:
I am currently working on the 151 to 180 bucket. The current percent of the Inventory that is in the bucket is 5.52%
When I try to use the Rule format style and use the logic below:
The resulte is in black:
I have also tried to to use the number variation of 5 and 100, but it is the same. I am not sure why the coloration is not switiching accordingly.
I have also tried to use the Gradient formatting style and am having a similar issue:
Again, same issue. The coloration is not correct. I have also, again, tried the whole numbers and having the same issue.
Any help is welcome! Thank you in advance.
Solved! Go to Solution.
Hi @Anonymous
Please download this example PBIX file
Not sure how you are calculating your buckets, see my file for what I've done.
But, if you do something like this
151 to 180 = DIVIDE(CALCULATE(COUNTROWS('DataTable'), FILTER('DataTable', 'DataTable'[Aging Bucket] = "151 to 180")), COUNTROWS(ALL('DataTable')))
Then set up the card and go into the CF rules
It works for me
Regards
Phil
Proud to be a Super User!
Hi @Anonymous
Please download this example PBIX file
Not sure how you are calculating your buckets, see my file for what I've done.
But, if you do something like this
151 to 180 = DIVIDE(CALCULATE(COUNTROWS('DataTable'), FILTER('DataTable', 'DataTable'[Aging Bucket] = "151 to 180")), COUNTROWS(ALL('DataTable')))
Then set up the card and go into the CF rules
It works for me
Regards
Phil
Proud to be a Super User!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 25 | |
| 25 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 25 | |
| 20 | |
| 20 |