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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.