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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
damit23183
Employee
Employee

Highlight or Background with different color for Last week data

Hi,

 

I am working on one Line and Stack column chart where all data are arranged by startweekdate which every sunday. Please see picture below for more info.

 

 

 

Test.png

 

As you can see above, chart is based on each sunday date now, what I want is to color or shadow with Greay background on highlighted week numbers which lastest week. 

 

All other columns values will be as it as just to highlight latest one.

 

Any idea on how to do it as I have never done that before?

 

Thanks

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@damit23183 , On stacked visual, we can use conditional formatting, so that can not help

 

The only thing I can think of is having an additional line with marked. Where you can make the line width as 0 and the marker can highligh

 

New measure =

var _Sunday =  max(Date[Date]) - weekday(max(Date[Date]),1) +1

return

if( max(Date[Date])  =_Sunday , [Line Measure] , blank())

 

Use this as a line enable marker and make line width 0

HI Amit,

 

Thanks for your solution but it's not working out as max date week i am getting is 31/7 instead of 10/09.

 

Thanks

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.