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
manisht2388
New Member

Filling blank cells from same column values

Hi team, I want to create a new column with filled blank cells with minimum launching date using the launch_date columns:

 

manisht2388_0-1721833562664.png

 

2 ACCEPTED SOLUTIONS
v-yangliu-msft
Community Support
Community Support

Thanks for the reply from @AntrikshSharma , please allow me to provide another insight: 
Hi  @manisht2388 ,

 

Here are the steps you can follow:

1. Create calculated column.

New_Launch_Date =
MINX(
    FILTER(ALL('Table'),
    'Table'[Product_Category]=EARLIER('Table'[Product_Category])),[Launch_Date])

2. Result:

vyangliumsft_0-1721953978883.png

 

 

Best Regards,

Liu Yang

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

manisht2388
New Member

I created a New Launch Date Column =
IF(ISBLANK('Table'[Launch_Date]),
CALCULATE(MIN('Table'[Launch_Date]),
FILTER(ALLNOBLANKROW('Table'), 'Table'[Product_Category] = EARLIER('Table'[Product_Category] )), 'Table'[Launch_Date]))

This worked for me !! Thanks everyone for your time !!

View solution in original post

6 REPLIES 6
manisht2388
New Member

I created a New Launch Date Column =
IF(ISBLANK('Table'[Launch_Date]),
CALCULATE(MIN('Table'[Launch_Date]),
FILTER(ALLNOBLANKROW('Table'), 'Table'[Product_Category] = EARLIER('Table'[Product_Category] )), 'Table'[Launch_Date]))

This worked for me !! Thanks everyone for your time !!

v-yangliu-msft
Community Support
Community Support

Thanks for the reply from @AntrikshSharma , please allow me to provide another insight: 
Hi  @manisht2388 ,

 

Here are the steps you can follow:

1. Create calculated column.

New_Launch_Date =
MINX(
    FILTER(ALL('Table'),
    'Table'[Product_Category]=EARLIER('Table'[Product_Category])),[Launch_Date])

2. Result:

vyangliumsft_0-1721953978883.png

 

 

Best Regards,

Liu Yang

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

manisht2388
New Member

I rechecked, the date column type is in SHORT DATE format.

AntrikshSharma
Super User
Super User

@manisht2388 

 

New_Launch_Date = 
CALCULATE ( 
    MIN ( 'Table'[Launch_Date] ),
    'Table'[Launch_Date] <> "",
    ALLEXCEPT ( 'Table', 'Table'[Product_Category] )
)

manisht2388_1-1721834807190.png

I get this error when added the measure to the table visual

you date must be of text data type you need to change them to date data type in Power Query

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.