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

POWER BI MATRIX VISUAL

I have a power bi matrix that show the sales per client with  4 Year/Month columns. Is Possible to view only the total of the year sales for the first 2 years and for the last 2 years view year/Month  sales.

 

                    year 1      year 2       year 3                    year 4

                    total         total         Jan Fev .... Dez        Jan Fev ...

client 1

client 2

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

One of ways to create like this is to have a dim calendar table like the below sample.

I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1669812839688.pngJihwan_Kim_1-1669812850929.png

 

Jihwan_Kim_2-1669812875847.png

 

 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

View solution in original post

5 REPLIES 5
Jihwan_Kim
Super User
Super User

Hi,

One of ways to create like this is to have a dim calendar table like the below sample.

I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1669812839688.pngJihwan_Kim_1-1669812850929.png

 

Jihwan_Kim_2-1669812875847.png

 

 

 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

the solution is ok.

Is possible to do the same with the capacitiy to years 2019 and 2020 be aggregate (only year) or disaggregate (Year/Month).

Hi,

Thank you for your feedback, and I think it is possible if we can apply the similar logic to create a [new axis 2] column.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.
Anonymous
Not applicable

OK. Thanks

PaulDBrown
Community Champion
Community Champion

Two ways:

1) Hide the unwanted columns by turning off "Word wrap" for the column headers and dragging the right column boundary left to "hide" the column

 

2) Create a custom layout for the matrix columns

Creating a custom matrix 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






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.