Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 43 |