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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.