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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
SabineOussi
Contributor III

Calendar Visual

Hello everyone,

 

I am using the calendar visual to display a simple date and count.

Problem is it's displaying nothing for the dates between March 28 and the end of the year though there is data for all years.

Capture.PNG

 

Is anyone else having this issue?

Any solutions?

 

Thanks.

 

[EDIT] This is also the case of the visual's sample file.

27 REPLIES 27
v-viig
Honored Contributor II

Hello @SabineOussi,

 

I'm not able to reproduce the same issue using my own data-set (please take a look at the screenshot below).

Is it possible to share a data-set that you used to reproduce the issue?

CalendarVisualMarchIssue.PNG

 

 

 

 

 

 

 

 

 

 

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

Hi @v-viig

 

Here is the dummy dataset I used.

 

As I said, the same issue is happening with the visual's sample report.

Calendar Test.PNG

I am using the latest PBI Desktop Version: 2.46.4732.461 64-bit (May 2017)

 

Thanks.

v-viig
Honored Contributor II

@SabineOussi

 

I'm not able to reproduce the issue using your data-set (please take a look at the screenshot below).

 

Do you have any filter on your report page?

 

CalendarDesktop.png

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Not at all.

I tried it on a colleague's pc and it also doesn't work.

 

What PBI version, Windows edition, and processor are you using?

 

Thanks.

RudyK
New Contributor

I'm encountering the same issue at the moment. I don't see any data from June, but when I select Export data from the Calendar visual, it shows me the data:

 

2017-06-12 09:00:00,5
2017-06-13 09:00:00,3
2017-06-14 09:00:00,2
2017-06-15 09:00:00,1
2017-06-16 09:00:00,1
2017-06-19 09:00:00,1
2017-06-20 09:00:00,3
2017-06-22 09:00:00,1
2017-06-28 09:00:00,1
2017-07-03 09:00:00,1

 

I have no Page or Report filters applied.

v-viig
Honored Contributor II

How many data rows does your data-set have? Custom visual doesn't suppor more than 1000 rows by default.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

RudyK
New Contributor

I discovered what the problem is. Only the records are shown where the DateTime field has a time value of 00:00:00:

 

m6lPdeU

 

Record with a time which is different (like in de the screenshot: 09:00:00 and 13:00:00) are not shown.

andycross
New Contributor II

Hi

 

Could you tell me which Locale you work in? 

 

I have loaded the same data locally and see a fully rendered visual.

 

Andy

Dutch (Nederlands). I'm loading data from a SQL table by the way.

v-viig
Honored Contributor II

@andycross,

 

I suppose that you should include an ability to show dates with time to Calendar visual.

Could you please consider this in future versions of the visual?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

@v-viig @RudyK I don't think that's the problem.

The visual sample file also has the same behavior and the time for all dates is 12:00:00 AM

v-viig
Honored Contributor II

@SabineOussi,

 

I'm not able to reproduce the same issue using your locale.

Could you please change data type format to date (instead of Date/Time) using Power BI Desktop's top ribbon?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Hi @v-viig

 

It is already of type date and not date/time.

v-viig
Honored Contributor II

@SabineOussi,

 

Could you please clarify these items:

  • Which version of Power BI Desktop do you use?
  • Can you reproduce the same issue in Power BI service?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

I am using the latest PBI Desktop version

PBI.PNG

 

Same issue on the server when I import the calendar visual and when I publish an already created report, the screenshot below is the sample downloaded from the calendar visual page

PBI Service.PNG

v-viig
Honored Contributor II

@SabineOussi,

 

Are you able to reproduce the same issue on any another machine?

 

I suppose that the issue is related to locale and timezone, but we have to be sure.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

@v-viig

 

I'm currently using Windows 10 Enterprise.

Same issue on Windows 10 Pro (different IP) and Windows 8.1 (same IP).

 

All running 64-bit OS.

v-viig
Honored Contributor II

@SabineOussi,

 

Do you use Dutch (Nederlands) for all machines?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

@RudyK is using Dutch (Netherlands).

I use English (United States) and yes for all machines.

v-viig
Honored Contributor II

@SabineOussi,

 

Which timezone do you use on your machine?

 

Is it possible to arrange a remote session with you if there're no repro steps on my machine even with your timezone and locale?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

RudyK
New Contributor

Hi All,

 

I made an extra column where I concat the DATE part and a fixed 00:00:00 time. Now (as I assumed earlier in this thread) works like a charm!

 

So there is definitly an issue with datetimes with another time than 00:00:00.

v-viig
Honored Contributor II

@RudyK Thanks for your investigation.

 

@SabineOussi Can you try @RudyK's solution on your machine?

 

Let's arrange a meeting if this solution doesn't work for you.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Unfortunately this doesn't work.

I have managed to find and correct the bug with non-midnight DateTimes being used. I'll package a new version soon.

 

@SabineOussiI think this is culture related, what is your local time zone and regional settings?

I think I found what the whole thing is all about!

 

Time zone in date & time settings is Beirut (where I live) and it is by Windows default set to UTC+2 while actually Beirut is UTC+3

Capture time.PNG

 

Whenever I change that to any country having UTC+3, the visual magically works!

 

Even when I set it to detect my time zone automatically, it keeps it as UTC+2

@v-viig should someone report this to Miscrosoft?

 

@andycross thank you for the follow up and for fixing the bug @RudyK mentioned.

 

Everybody wins!

Except that Windows is misdetecting my timez one!!!

Thanks! I think there's a bug in culture/region/timezones specifically when Daylight Savings Time is applied in my code. I'm going to work on fixing this asap.

 

Thanks to all for helping make the Calendar Visual better.

v-viig
Honored Contributor II

@SabineOussi,

 

Please contact Microsoft support to find out more about this issue.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Helpful resources

Announcements
Users online (2,084)