Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
miketsilis
New Member

highlighting weekends in a Line Chart combined with Bars

Dear all,

I would like to creat a line chart and highlighting the weekends with Bars (as shown in the pic below). Additionally I would like to show only the data for the MAX, MIN (this is already answered from previous post I did) but also the most Recent value (as for today is yesterday's data).
I post also a picture for showing what I mean more clear.

Thank you very much in advance. for Fabric community.PNG

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @miketsilis - Please find the resolved solution for the similar scenerio

Solved: Highlight Weekends on Line Chart - Microsoft Fabric Community

you can also try with markers with different color. 

Hope it works

 

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

4 REPLIES 4
v-nuoc-msft
Community Support
Community Support

Hi @miketsilis 

 

Please refer to the content of this blog:

 

Use a Python script to annotate special points on ... - Microsoft Fabric Community

 

This should help you.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-nuoc-msft is there any other way without using Python? I would like to do something which will be easily readable for other stakeholders. I am trying to do it using Dax but I am getting some errors.
MostRecentValue =
CALCULATE(
MAX('XTable'[Sales EU]),
FILTER(
'XTable',
'XTable'[Day_] = MAX('XTable'[Day_])
)
)
for that I am receiving an error "Column Sales EU" in table XTable cannot be found or may not be used in this expression. Do you know why it could be? Or do you have another alternative with DAX but not Python?

rajendraongole1
Super User
Super User

Hi @miketsilis - Please find the resolved solution for the similar scenerio

Solved: Highlight Weekends on Line Chart - Microsoft Fabric Community

you can also try with markers with different color. 

Hope it works

 

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





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hello @rajendraongole1 thanks a lot. I was able to to highlight the Weekends 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.