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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Community Champion
Community Champion

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!!

 

 

 

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
Community Champion
Community Champion

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!!

 

 

 

Greg_Deckler
Super User
Super User

@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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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