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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
HenryJS
Post Prodigy
Post Prodigy

Highlight first instance

Hi all,

 

How can I highlight the first instance 'Candidate Ref' appears?

 

A new column denoting the earliest date Candidate Ref appears.

 

 

Capture.PNG

1 ACCEPTED SOLUTION
v-robertq-msft
Community Support
Community Support

Hi, @HenryJS 

According to your description, I can roughly understand your requirement, do you mean that you want to create a new column to get the first date that the Candidate Ref appears for each Candidate Ref, you can try this calculated column:

First date =

CALCULATE(MIN('Table'[Application Date]),FILTER(ALL('Table'),[Candidate Ref]=EARLIER('Table'[Candidate Ref])))

 

And you can get what you want, like this:

v-robertq-msft_0-1623727964640.png

 

You can download my test pbix file below

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

View solution in original post

3 REPLIES 3
v-robertq-msft
Community Support
Community Support

Hi, @HenryJS 

According to your description, I can roughly understand your requirement, do you mean that you want to create a new column to get the first date that the Candidate Ref appears for each Candidate Ref, you can try this calculated column:

First date =

CALCULATE(MIN('Table'[Application Date]),FILTER(ALL('Table'),[Candidate Ref]=EARLIER('Table'[Candidate Ref])))

 

And you can get what you want, like this:

v-robertq-msft_0-1623727964640.png

 

You can download my test pbix file below

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

amitchandak
Super User
Super User

@HenryJS , Create a color measure like this and use that in conditional formatting using field value option

 

measure =
var _min = calculate(min(Table[application Date]), filter(allselected(Table), table[candidate_ID] = max(table[candidate_ID])))
return
if(max(table[candidate_ID]) =_min, "red", "white")

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak  sorry I meant a new column which denotes the first instance, so a 1 if it is the first instance 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors