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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.