Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I’m facing an issue where conditional highlighting/formatting works correctly in Power BI Desktop, but stops working after publishing to Power BI Service.
The same visuals, measures, and data behave as expected locally, but in the Service the highlighting does not render at all.
I’ve verified that there are no errors, same dataset, same report version, and refresh completes successfully.
Has anyone faced a similar issue?
Are there known limitations or settings in Power BI Service that affect conditional formatting/highlighting compared to Desktop?
Solved! Go to Solution.
Hi @Vaibhav_99
Thank you for reaching out to the Microsoft Fabric Forum Community.
@krishnakanth240 @johnbasha33 Thanks for the inputs.
Suggestions from users are very helpful. I have reproduced the issue and it works for me. I have attached the file for you to review and try. If you are still experiencing problems, please share the sample data along with the pbix file so we can look into it further.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks.
Hi @Vaibhav_99
Thank you for reaching out to the Microsoft Fabric Forum Community.
@krishnakanth240 @johnbasha33 Thanks for the inputs.
Suggestions from users are very helpful. I have reproduced the issue and it works for me. I have attached the file for you to review and try. If you are still experiencing problems, please share the sample data along with the pbix file so we can look into it further.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks.
Hi @Vaibhav_99
Thank you for reaching out to the Microsoft Fabric Forum Community.
I hope the information provided was helpful. If you still have questions, please don't hesitate to reach out to the community.
Hi @Vaibhav_99
Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.
it was working fine before . today only it start not highlighting
ignore column name ie same name latitude
Hi @Vaibhav_99
Most likely it stopped because your measure now returns BLANK() / error due to VALUE() failing (locale/format change, extra spaces, comma decimals) or because RowLat/RowLon are averaged and no longer match exactly.
Do these quick fixes:
1) Don’t use VALUE() on slicer text — use a numeric column or safe conversion
Replace your SelLat/SelLon with this (safe):
VAR SelLat = SELECTEDVALUE ( dimLatitude[LatitudeNum] )
VAR SelLon = SELECTEDVALUE ( dimLongitude[LongitudeNum] )
If you don’t have numeric columns, create them in Power Query or DAX. (Avoid text lat/long.)
2) Your “exact match” check is too strict
You’re doing:
ABS ( SelLat - RowLat ) < Epsilon
But RowLat = AVERAGE(fact_order[Latitude]) can change with filters and can be slightly different. Use the row value, not average:
VAR RowLat = SELECTEDVALUE ( fact_order[Latitude] )
VAR RowLon = SELECTEDVALUE ( fact_order[Longitude] )
3) Azure Maps bubble layer often needs a categorical field
Instead of rules on a measure, create a field:
HighlightLabel = IF ( [Highlight Point] = 1, "Highlight", "Normal" )
Then color by HighlightLabel (legend/category), not rules.
Fast test
Put [Highlight Point] in a table with Latitude/Longitude and slicer selections.
If it never shows 1, the issue is conversion or the AVERAGE/precision check.
If you tell me what dimLatitude[txtLatitude] looks like (e.g., 28.6539 vs 28,6539), I’ll give the exact conversion fix.
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
yeah it is strict because requirement is just like that. only exact match should get highlighted
it is strict four digit input i am taking in both column that you can see on Screenshot
e.g., 28.6539
also cant add highlight point in table because i want it dynamic because it keep changing based on the input
@johnbasha33
also cant add highlight point in table because i want it dynamic because it keep changing based on the input @johnbasha33
Hi @Vaibhav_99
Conditional formatting can behave differently in Power BI Service due to visual rendering differences, unsupported expressions or Power BI service caching. Try republishing after clearing formatting, avoid dynamic format strings, and check if the visual uses preview features. Also test by recreating the formatting directly in Power BI Service to rule out a Desktop only bug.
Hi @Vaibhav_99 ,
this is a real, known Power BI quirk, and you’re not crazy 🙂
Conditional formatting can work in Desktop and silently fail in Power BI Service for a few specific reasons.
Below is a practical checklist, ordered by how often this actually causes the issue in the Service.
Data category / data type mismatch (MOST COMMON)
Power BI Service is stricter than Desktop.
What works in Desktop but fails in Service
What to check
If your conditional formatting is driven by a measure, make sure:
❌ Bad
Price :=
FORMAT( [MedianPrice], "#,##0" )
✅ Good
Price :=
[MedianPrice]
Use formatting in the visual, not FORMAT().
Conditional formatting based on a measure with visual-level filters
In Power BI Service:
Common break scenario
Fix
Wrap logic defensively:
CF Color :=
VAR v = SELECTEDVALUE ( 'Table'[Value], BLANK() )
RETURN
IF ( NOT ISBLANK(v) && v > 0, "#00A65A", "#DD4B39" )
Avoid returning:
Map & Azure Maps visual limitations (VERY RELEVANT to your screenshot)
Your screenshot shows an Azure Maps visual.
⚠️ Important:
Azure Maps has partial conditional formatting support in Power BI Service
What works in Desktop but may fail in Service:
Why
Workaround (reliable)
Instead of conditional formatting:
Price Band =
SWITCH(
TRUE(),
[MedianPrice] < 15000, "Low",
[MedianPrice] < 20000, "Medium",
"High"
)
Then:
This works 100% in Service.
“Summarization” mismatch between Desktop & Service
Power BI Service sometimes reverts aggregation.
Check
If Service aggregates unexpectedly → formatting fails.
Cached metadata in Power BI Service (annoying but real)
Sometimes Service just… gets stuck.
Fix sequence (important)
This has fixed “ghost” conditional formatting bugs many times.
Unsupported combinations (documented but buried)
Conditional formatting does NOT fully work in Service for:
Desktop shows it anyway → Service ignores it.
What I’d recommend for your case
Based on your screenshot + symptoms:
Most likely causes (ranked):
Best long-term fix
➡️ Convert conditional logic into categorical fields
➡️ Use Legend / Data colors
➡️ Avoid measure-driven formatting on maps
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |