cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Inconsistency with Power Query

Hi,

 

I have the next problem:

 

When I load some datas from an Excel file, in Power Query the dates are perfect, but when I upload to Power BI desktop some dates are deleted and I dont know why.

These are some pictures of this problem:

2.PNG3.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Inconsistency with Power Query

Hi, @Davidforero99 

 

Based on your description, I'd like to suggest you create an index column in data scource. Then you may go to 'Modeling' ribbon, click 'Sort by column', make the index column selected.

 

Best Regards

Allan

 

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

8 REPLIES 8
Highlighted
Super User IV
Super User IV

Re: Inconsistency with Power Query

Are they deleted or in a different order. Check no of rows.

Another issue. When you have a date in DD/MM/YYYY, sometimes it happens that few dates are taken as MM/DD/YYYY. Just check for that too



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Helper II
Helper II

Re: Inconsistency with Power Query

The n° of rows are the same, How can I solve that problem with the order of the format of the dates?

Highlighted
Super User IV
Super User IV

Re: Inconsistency with Power Query

There are few options like you try to the system that date is in the British format. If nothing works out. Then convert it into text. Check the date are the same as the source.

and create a new column like

new column = mid(DD__MM__YY[Date],4,2) &"/"& left(DD__MM__YY[Date],2) & "/" & right(DD__MM__YY[Date],4)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

Highlighted
Super User I
Super User I

Re: Inconsistency with Power Query

@Davidforero99 

 

Use locale to set the date format.

Cap11.PNG

 

Cap11.PNG

 

 

Refer to this post.

https://community.powerbi.com/t5/Desktop/Date-Change-from-DD-MM-YYYY/m-p/908419

 

If it helps, mark it as a solution

Kudos are nice too

 

Connect on LinkedIn
Highlighted
Helper II
Helper II

Re: Inconsistency with Power Query

Ok, I change the typo to locale (united Kingdom)

 

But the dates are not in the same order as in the excel, and is very important the order.

Do you know how to fix that?

 

Thanks

Highlighted
Super User I
Super User I

Re: Inconsistency with Power Query

@Davidforero99 

 

I would say, introduce a column with seriel no(or index) in excel and bring that to Power BI. You could use that column as a SORT BY column for date.

 

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

If it helps, mark it as a solution

Kudos are nice too

 

 

Connect on LinkedIn
Highlighted
Community Support
Community Support

Re: Inconsistency with Power Query

Hi, @Davidforero99 

 

Based on your description, I'd like to suggest you create an index column in data scource. Then you may go to 'Modeling' ribbon, click 'Sort by column', make the index column selected.

 

Best Regards

Allan

 

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

Highlighted
Helper II
Helper II

Re: Inconsistency with Power Query

One option for fixing the sorting issue is to create another column where dates are represented in "2020-12-31" format and to use that for sorting.

 

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors