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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Why is my Matrix showing 365 days in a month?

Hi,

 

First time posting here so please do let me know if I get anything wrong..

 

I am seeing some very strange results in a Matrix visual showing data from a date table. I have FiscalYear and CalendarEndMonth as columns and a count of the rows in the same table as the values. All is as expected for the first fiscal year in view (2021/22), the row counts are the days in each month, but then the first month of 2022/23 is showing 365! I created a min and max date measure too and that is showing 1/4/2021 and 31/3/2022, despite 2022/23 showing on the column:

 

MatrixColumnError.PNG

 

Stranger still, this happens with whatever the second year in the view is, i.e. if I include 2020/21, the counts are as expected but the first month of 2021/22 now has 365 days. Also, if I move the Fiscal Year and Calendar Month to rows, everything is as expected i.e. no 365 totals:

 

SnipImage.JPG

 

My model is a single table, which is a date table. There is one row per date and no missing dates. I have exported the table to Excel to check it and the counts are as expected. I was using the table as part of a larger model but stripped everything out to try and diagnose the problem but no luck.

 

I think this must be to do with the Matrix visual as the results are as expected when I use the table visual but I am at a loss to understand this behaviour. Can anyone help? Happy to share pbix if needed. Thanks.

3 REPLIES 3
Anonymous
Not applicable

@Greg_Deckler  Thanks for the reply. Re. the Total no, they're all turned off, but turning them on and then back off again seems to fix the problem! So thanks for that - this was bugging me for hours to the point I registered for the forum for the first time! Cheers

@Anonymous Weird one! Glad it's fixed!



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

@Anonymous I tried replicating this but could not. See attached PBIX file below signature. Are you sure that you are not confusing the Total columns for the first month of your fiscal? Perhaps try turning off totals?

 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.