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.
For some reason 12/31/2017 is showing up twice in a chart instead of showing 1/1/2018. The sales number is right but showing the wrong date. The date is coming from the sales order table but the same thing happens if i use the calendar table. Any ideas?
I'd be expecting that the answer lies within the FiscalDay data. My expectation is that you have data where FiscalDay is 365 and other data where FiscalDay is 1 for that same date.
Can you post some sample data, perhaps some can take a look at it. Its going to be very hard to speculate from the details so far.
Another weird thing is when i export to excel from desktop it shows a time of 11pm for the 12/31/17 that should be 1/1/18
If you transform the date data type to just Date in Power Query, it should work. Since there are different times at then of our dates they are actually two different periods, even if we format as days. What we see doesnt always match what is actually there.
It was already on Date only in power bi
can you post your file?
Unfortunately it has too much confidential data. The weird thing is that Power BI Online shows the data correct.
hm. that is odd... I'm still thinking there is something up with the actual date field. any chance you can just get that column and send as is? Just hard to trouble shoot without actually seeing something
I have two sheets for my data, 1 2017 and 1 2018. Here are the 2 coloumns of dates from that.
https://www.dropbox.com/s/shyooxfuy6ekf93/Dates.xlsx?dl=0
Used your data (added some random sales figures) and I don't get the duplicate in Excel or Desktop.
So, not sure what to make of that. I'd just be sure that in Power Query you change the date completed column to Date:
Other than that, no idea what's going on....
Thanks for looking into it. Another weird thing is if i go to the data tab in PBI desktop is shows all the dates
That would suggest to me that you do indeed have some differences in your DateTime data.
Dates are usually stored as a whole number, in a format of Days since 31/12/1899. Time is usually stored as a decimal, where 0.5 would be midday.
I'd be wondering if one of your dates isn't a whole number and is thus coming up as the 11pm. Something like 43000.96 rather than 43001.
I converted all the numbers in excel for 1/1/2018 and they were all 43101.00
did you try to do any transformations in power query to ensure all the dates are dates and nothing hanging on?
Sorry for the late response. The weird thing is if I just use my order data table (no calendar table) and look at it in the desktop and published to the web it is different.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
97 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |