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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.