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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors