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
Anonymous
Not applicable

Matrix issue

Created one calculated column for combining year and month.

After filtering year, matrix is showing all yeras.

Please help.

 

 

Capture.PNG

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@amitchandak , @Pragati11 

Removed coalesce function from measure, resolved my issue.  Thanks everyone. 

View solution in original post

10 REPLIES 10
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Need more information on your query.

  1. Are Year and Month columns in slicers and your matrix coming from same table?
  2. If not then what kind of relationships you have in your data model?
  3. Do you have a universal Calendar table in your data model?

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

@Pragati11 

 

Year and Month from Calendar table.

One to Many (Calendar - Fact)

Yes, I have universal calendar table.

@Anonymous ,Can you share sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak , @Pragati11 

Removed coalesce function from measure, resolved my issue.  Thanks everyone. 

Anonymous
Not applicable

Yes, I have universal calendar table, and created one calculated column.

MMM_YYYY = FORMAT(Dates[Date],"MMM") & "_" & FORMAT(Dates[Date],"yyyy")

@Anonymous , This can be

MMM_YYYY = FORMAT(Dates[Date],"MMM_yyyy")

 

But this can nor cause that issue. Make share date table is joined (active join) with your fact and filter of year and month is coming from date table

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak 

Instead of Year-Month, Month coulmn is working fine in Matrix.

The above formula also giving same result.

amitchandak
Super User
Super User

@Anonymous , calculated column or measure?

 

can you share calculation

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@Pragati11 

MMM_YYYY = FORMAT(Dates[Date],"MMM") & "_" & FORMAT(Dates[Date],"yyyy")

Hi @Anonymous ,

 

Can you answer all the points that I asked in my response? 🙂

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

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.

Top Solution Authors