Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
i have a linechart x and y for which certain values of x should have a a different background color on the chart vertically
pbi example:
https://drive.google.com/file/d/1nnKlugbuX4pCabtrzXJ16bQ3aiAwGGqO/view?usp=sharing
expected result:
e.g. green background around the odd numbers and no (or another) background around the equal numbers.
the original data of the x axis is a timestamp where i want to color the non-business hours (20 to 08).
Solved! Go to Solution.
Hi @sebapehl,
I'm attaching a pbix file with my solution.
The final output is this:
You could play around x-axis to change continuos to categorical, but it will depend of how you have your data model.
Proud to be a Super User!
Hi @sebapehl,
I'm attaching a pbix file with my solution.
The final output is this:
You could play around x-axis to change continuos to categorical, but it will depend of how you have your data model.
Proud to be a Super User!
perfect, thank you!
You're welcome
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.