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
StuartSmith
Power Participant
Power Participant

All Dates 1 day out compared to the Source SP List.

Ive noticed that all the dates in the Bi Report are 1 day behind the SP List dates.  I could create a +1 date column for each date column, but there are lots, so looking for a better solution.

Thanks in advance.

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @StuartSmith ,

 

Here's my idea.

Go to Power Query, select all date columns and click "Unpivot Columns".

vstephenmsft_0-1677120998643.png

vstephenmsft_1-1677121020406.png

Add a custom column to add 1 day.

vstephenmsft_2-1677121091973.png

vstephenmsft_3-1677121113740.png

Remove the [Value] column and pivot as follows.

vstephenmsft_4-1677121170361.png

As you can see, all dates are added 1 day.

vstephenmsft_5-1677121178320.png

Pivot columns - Power Query | Microsoft Learn

Unpivot columns - Power Query | Microsoft Learn

                                                                                                                                                         

Best Regards,

Stephen Tao

 

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

3 REPLIES 3
v-stephen-msft
Community Support
Community Support

Hi @StuartSmith ,

 

Here's my idea.

Go to Power Query, select all date columns and click "Unpivot Columns".

vstephenmsft_0-1677120998643.png

vstephenmsft_1-1677121020406.png

Add a custom column to add 1 day.

vstephenmsft_2-1677121091973.png

vstephenmsft_3-1677121113740.png

Remove the [Value] column and pivot as follows.

vstephenmsft_4-1677121170361.png

As you can see, all dates are added 1 day.

vstephenmsft_5-1677121178320.png

Pivot columns - Power Query | Microsoft Learn

Unpivot columns - Power Query | Microsoft Learn

                                                                                                                                                         

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Thanks for your input Stephen, I will give it a go, but as the report contains multiple date columns, I would be nice to know why this is happening and fix, instead of having the fix every date column.

StuartSmith
Power Participant
Power Participant

Anyone with any ideas?

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.