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
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
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.