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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Petrosfl
Frequent Visitor

Date is split in two Rows

Annotation 2019-10-21 015549.png

 

The date column is split in two rows. Any suggiestions how can I combnine the date number from the first row with the month name from the second row?

1 ACCEPTED SOLUTION
cosminc
Post Partisan
Post Partisan

Hi,

1. split column after first character from right to identify where you have "-" and where not

2. add an if column, where is "-", column that you have now , where not null

3. on that column filled down to fill null values

4. add column - column you have now&column resulted at step 3

5. delete rows unuseful on initial column like Jan, Feb etc

 

Best,

Cosmin

View solution in original post

3 REPLIES 3
cosminc
Post Partisan
Post Partisan

Hi,

1. split column after first character from right to identify where you have "-" and where not

2. add an if column, where is "-", column that you have now , where not null

3. on that column filled down to fill null values

4. add column - column you have now&column resulted at step 3

5. delete rows unuseful on initial column like Jan, Feb etc

 

Best,

Cosmin

Worked like a charm thank you!!

JirkaZ
Solution Specialist
Solution Specialist

@Petrosfl You could probably create two separate data sources from that - one with "Count" not null and one with "Count" null, index those columns in each data source and then merge. 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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