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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
CR7
Helper II
Helper II

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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