Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi!
I encountered a very strange problem, and I wanted to find out if anyone has ever been affected by this problem, or if there is something I am doing wrong or missing.
I have a table that has 'month and year' value in the format mm.yyyy that I match to my calendar table. Each month has exactly one value, so I need to match month and not a specific date. Originally this table has full date for the first of the month. This is bad, as if I were to match this value to my calendar table, it would only match for the 1st date and on the 2nd of the month, the value would be null. However, the same value should apply. That's why I'm matching the month.
To obtain this month value, in Power Query I do a split column function. So from dd.mm.yyyy I split by the only the first ''.'' and obtain two columns ''dd.'' and ''mm.yyyy''. So I delete the first column and 2nd column is exactly what I'm looking for.
After I published this report and the data got refreshed, I noticed that the results are not the same as I'm seeing in desktop PBI. After downloading the published report, I noticed that this step in power query instead returns these columns: ''dd.'' and ''mm.yyyy.''.
So I am very confused why there is an extra full stop in the published report, but no full stop in my desktop version of the same file?
As a solution, I added an extra step to my calendar table to have the format ''mm.yyyy.'' for month. Now the matching fails on my desktop PBI, but it works on the published report which is being used by my colleagues.
Solved! Go to Solution.
Hello - Power Query scripts in a report in desktop vs. when published should be exactly the same. If you are seeing a difference then the two reports being compared are not actually the same and just look the same, so one of the below is happening:
@arca123 Have you had a chance to review this reply? If this reply helped or solved your problem, please click Accept as Solution. Thanks!
Hello - Power Query scripts in a report in desktop vs. when published should be exactly the same. If you are seeing a difference then the two reports being compared are not actually the same and just look the same, so one of the below is happening: