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
Héctor1985
Frequent Visitor

Poner año y mes en el encabezado de columna (matriz)

Buenas tardes amigos.

Necesito que en el encabezado de columna me aparezca el año (como ya podeis ver) pero también el mes (donde se encuentra la línea roja). No hay forma de que me aparezcan ambas, solo soy capaz de poner una u otra.

 

 

Hctor1985_0-1724154877135.png

 






2 ACCEPTED SOLUTIONS

Not possible. And not user friendly. Enable the header icons.

View solution in original post

v-jtian-msft
Community Support
Community Support

Hi,lbendlin ,thanks for your concern about this issue.Your answer is excellent!
And I would like to share some additional solutions below.

Hello,@Héctor1985.I am glad to help you. 

According to your description, you want to achieve the following effect in the matrix: display data corresponding to both year and month granularity at the same time without disabling the matrix hierarchical field expansion feature.
Unfortunately, by default, it is not possible to display both year and month granularity data in Power BI matrices without expanding the hierarchy. This is because Power BI's hierarchy is designed to expand data layer by layer for better management and presentation of complex data sets.

Here are my suggestions that can help you achieve your desired results as much as possible.
Define a custom column that combines the year and month. For example, you can create a “YearMonth” column in the format “YYYY-MMMM”. Then use this new column in the matrix.
like this:

vjtianmsft_0-1724743062703.png


2. The Power BI default matrix is difficult to achieve your expected results, so I also recommend that you use other similar custom matrix visual, to see if there can meet your custom vsiual, or try to make two in addition to the X-axis limitations on the granularity of the different, and other all the same matrix. One is modified by the year and the other by the month to make it easier to compare.

vjtianmsft_1-1724743095330.png
Here is my test data:

vjtianmsft_2-1724743122482.png

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-jtian-msft
Community Support
Community Support

Hi,lbendlin ,thanks for your concern about this issue.Your answer is excellent!
And I would like to share some additional solutions below.

Hello,@Héctor1985.I am glad to help you. 

According to your description, you want to achieve the following effect in the matrix: display data corresponding to both year and month granularity at the same time without disabling the matrix hierarchical field expansion feature.
Unfortunately, by default, it is not possible to display both year and month granularity data in Power BI matrices without expanding the hierarchy. This is because Power BI's hierarchy is designed to expand data layer by layer for better management and presentation of complex data sets.

Here are my suggestions that can help you achieve your desired results as much as possible.
Define a custom column that combines the year and month. For example, you can create a “YearMonth” column in the format “YYYY-MMMM”. Then use this new column in the matrix.
like this:

vjtianmsft_0-1724743062703.png


2. The Power BI default matrix is difficult to achieve your expected results, so I also recommend that you use other similar custom matrix visual, to see if there can meet your custom vsiual, or try to make two in addition to the X-axis limitations on the granularity of the different, and other all the same matrix. One is modified by the year and the other by the month to make it easier to compare.

vjtianmsft_1-1724743095330.png
Here is my test data:

vjtianmsft_2-1724743122482.png

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Is this in ReportServer or regular Power BI?  Did you disable the header icons? You need them if you want to expand/collaps column hierarchies.

This is for a regular report. Yes, I disabled the header icons. My task is to make sure that both the year and the month appear (as I indicate in the photo), without touching the expand and collapse arrows.

Hctor1985_0-1724220834514.png

 

Not possible. And not user friendly. Enable the header icons.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors