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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
saranp780
Helper III
Helper III

How to put the value in only blank column?

My requirement is to add data into the blank row. My data is

 

Creation dateCreation from systemDeleting
12/5/201612/5/2016 
 13/5/2016 
 14/5/2016 
15/1/2016 15/6/2017
16/1/2016 16/6/2017
16/1/2016 17/6/2017
 12/4/2017 
 13/4/2017 
 14/4/2017 
16/1/2016 16/4/2018
 12/2/2017 
 12/2/2017 
 12/2/2017 
 12/2/2017 
 12/2/2017 
 12/2/2017 

 

Creation date(In the first column) is from manual adding. We can't collect some data so we need to get the date from the system. (Second column) We found more data but something has deleted from the system then we lose some data too.  So we want to merge the data that empty from the system to get all of the data (Not merge). Like in the picture

Get dat01.jpg

 

And this is the result.

Creation dateCreation from systemDeleting
12/5/201612/5/2016 
 13/5/2016 
 14/5/2016 
15/1/201615/1/201615/6/2017
16/1/201616/1/201616/6/2017
16/1/201616/1/201617/6/2017
 12/4/2017 
 13/4/2017 
 14/4/2017 
16/1/201617/1/201616/4/2018
 12/2/2017 
 12/2/2017 
 12/2/2017 
 12/2/2017 
 12/2/2017 
 12/2/2017 

 

Can I do this in Power BI? Could you please suggest me hot to do this in DAX?

 

Thank you all.

Get dat01.jpg

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @saranp780,

 

You could create a calculated column with the formula below.

 

Column 2 =
'table'[Creation from system]
    & IF ( ISBLANK ( 'table'[Creation from system] ), 'table'[Creation date] )

Here is the output.

 

Capture.PNG

 

Hope this can help you!

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
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

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @saranp780,

 

You could create a calculated column with the formula below.

 

Column 2 =
'table'[Creation from system]
    & IF ( ISBLANK ( 'table'[Creation from system] ), 'table'[Creation date] )

Here is the output.

 

Capture.PNG

 

Hope this can help you!

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.