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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
murthyyyyy
New Member

How to make Matrix Visual dynamic

Hi All,

 

I am trying to achieve dynamic matrix visual as attached so I want to have 2 columns headers from column values from jira id and month column so first I have to pivot jira id column first and apply values from ‘Values column ‘ to it then I have to pivot month column and apply values form ‘Results‘ column how to do this in matrix visual ? I tried doing this in transform Tab I achieved the below expectable outcome and also I used table visual to showcase the values but when I do refresh the values in column jira I’d and month may change the same column headers will not be there How to make this dynamic ? Can some please assist?

Expected output    
NameRaised byJIRA-7820JIRA-7420sepsep
issue1abc-6 0
issue2xyz6.5-9.2 
Actual table     
NameRaised byvaluesJira idresultsMonth
issue1abc6.5JIRA-78209.2sep
issue2xyz6JIRA-74200sep

 

But i get pivot like below, i dont want to expand any rows and columns, just i would like to get as table.

 Column Labels          JIRA-7420 JIRA-7420 Sum of values2JIRA-7420 Sum of resultsJIRA-7820 JIRA-7820 Sum of values2JIRA-7820 Sum of resultsTotal Sum of values2Total Sum of results sep   sep     Row LabelsSum of values2Sum of results  Sum of values2Sum of results    issue1    6.59.26.59.26.59.2issue26060    60Grand Total60606.59.26.59.212.59.2
Pivot Table          
abc    6.59.26.59.26.59.2
xyz6060    60

 

 

 

Here is the snippte, i would like to achieve as simple table,

Sample1.PNG

2 REPLIES 2
danextian
Super User
Super User

Hi @murthyyyyy ,

 

To accomplish your goal, you'll need some advanced DAX/PQ skills (depending on the chosen approach). Essentially, you must create a table with a column encompassing all required values for the matrix visual's column tile . As you aim to have the month name repeated based on the visible issue count, it's necessary to append space(s) after each month string. Please refer to the provided sample pbix for a starting point.

danextian_0-1705905119464.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Greg_Deckler
Super User
Super User

@murthyyyyy Maybe The New Hotness? The New Hotness (Custom Matrix Hierarchy) - Microsoft Fabric Community



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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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