Forum Discussion
Dealing with dates containing ordinal indicators in Power Query
Hi lefinalzugzwang,
Based on my research, you could refer to below blog to have a test, but it also will effect your performence in query editor.
Reference:https://wmfexcel.com/2017/11/11/data-transformation-with-power-query/
Regards,
Daniel He
Hi Daniel, thanks for your reply.
This is basically what I was doing ... it did give me another idea though, which was to try:
- splitting "1st" from "January 2011"
- change type of "January 2011" to Date
- Filter to latest date (this will give me the latest months worth of data, so that the next few steps aren't being performed on as many rows)
- only then remove the ordinal indicators and recombine to form "1 January 2011"
- Filter to latest date (it was already filtered down to a one month period)
Unfortunately the performance doesn't seem to have improved by this. It takes much more time "evaluating", "loading data to model", and then takes more time per row (albeit with a lesser number of rows) - the net result is it is similarly slow to execute.
This makes me wonder whether it is actually the filtering that is causing the performance issue? Is it normal for filtering rows by date to be such an intensive task?
Thanks for your time.
Best wishes,
Laurence
- v-danhe-msft7 years agoMicrosoft Employee
Hi lefinalzugzwang,
Based on my research, I am afraid you could avoid the performence problem, you could refer to below link to know how to improve the performence:
http://blog.pragmaticworks.com/power-bi-performance-tips-and-techniques
https://docs.microsoft.com/en-us/power-bi/power-bi-reports-performance
Regards,
Daniel He
- v-danhe-msft7 years agoMicrosoft Employee
Hi lefinalzugzwang,
Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered?
Regards,
Daniel He
- lefinalzugzwang7 years agoFrequent Visitor
Hi Daniel,
Unfortunately I am still suffering with the issues, and haven't yet found a solution based on the best practices.
Thanks for your help nevertheless.
Regards,
Laurence