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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Vtomsons
Helper I
Helper I

Week of year returns a 5-8 digit number

Hi, I have linked email data to a calendar so I can see how many messages were sent in an given week. My calendar was built using the ultimate calendar and then I linked the sent date with the calendar and tried to count how many email addresses were sent in a given week. Its returning a 5-8 digit number.

 

My email data was originally in DD/MM/YYY and I changed it to MM/DD/YY using Local English-United kingdom. I'm not sure why this is happening as other times I have linked ot this data from other sources it has returned the proper week #.

 

Any suggestions?

 

Val

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Make sure the Date columns on both side of the relationship are Date type (not DateTime).  If DateTime, you'll need to make it Date type in the query (not just in Data View).

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

Make sure the Date columns on both side of the relationship are Date type (not DateTime).  If DateTime, you'll need to make it Date type in the query (not just in Data View).

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


themistoklis
Community Champion
Community Champion

@Vtomsons 

 

When you say email data.. do you mean you use a connector which connects to an email database.

What is the source of your email data and what is the format of the date in the email dataset?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.