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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Rohit001
Helper I
Helper I

Issue: Matrix

 

I have an issue with a matrix visual. I am trying to create a matrix table visual where a group of years is combined with a single month. Which is dynamic, the scenario is every day data will be added but i have to show it in month wise if new month new year add then it has to  change

 
Rohit001_0-1717694696538.png

 getting above output
but i want to 

 

Rohit001_1-1717694757396.png

 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Rohit001 - create a new colum in your date table and add below logic in your calculated column .

 

Year_Month = 'Date'[Year] & "_" & 'Date'[MonthName]

rajendraongole1_1-1717697177086.png

use your matrix visual added year_month in columns and 

rajendraongole1_2-1717697220429.png

 

you can get the as expected output. check and let know

 

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

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
Anand24
Super User
Super User

@Rohit001 ,
I feel that the month sorting seems to be the issue. If that is the case, you can create a month sort table, connect it to original table and then pull month name from this new table.

This way the latest month will always fall in the end or start dpending on how you keep it.

Currently in your expected output, June is falling between April and May which should actually be April then May then June.

rajendraongole1
Super User
Super User

Hi @Rohit001 - create a new colum in your date table and add below logic in your calculated column .

 

Year_Month = 'Date'[Year] & "_" & 'Date'[MonthName]

rajendraongole1_1-1717697177086.png

use your matrix visual added year_month in columns and 

rajendraongole1_2-1717697220429.png

 

you can get the as expected output. check and let know

 

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

 

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Greg_Deckler
Community Champion
Community Champion

@Rohit001 So, can you create a new column like FORMAT( [Date], "mmm_yyyy") ?



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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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