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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
StuartSmith
Power Participant
Power Participant

Display "Date" for first non blank cell value.

I have been trying to get "FirstNonBlank" to work, but I cant and therefore asking for help.  I need a measure that will identify the first non blank row for each ID and then give the date of the first non blank row.  So as an example, ID 1 would be 03/01/2023, ID 1 would be 01/01/2023, and so on. How can this be done.

 

 

StuartSmith_0-1690903741383.png

Thanks in advance

1 ACCEPTED SOLUTION
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

based on your data you could try the below in a calculated column:

 

CALCULATE(MIN('Table'[Date]),ALLEXCEPT('Table','Table'[ID]),'Table'[Backfill]="Yes")
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

based on your data you could try the below in a calculated column:

 

CALCULATE(MIN('Table'[Date]),ALLEXCEPT('Table','Table'[ID]),'Table'[Backfill]="Yes")
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.