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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
martinnilsson
Frequent Visitor

Display Quarter and Months in X axis for a data table view

Hi,

I am new to Power BI and I have a data set that I want to display similar to the table below.  The data is showing figures per month in the X axis together with the quarters and column name (Sales Numbers).  Is this possible in Power BI.  I worked a little in Tableau and it was straightforward, just adding quarter and month fields to columns field.  Power BI looks to work differently.

Appreciate any help.

 

      Sales Numbers      
  Q1  Q2  Q3  Q4 
CustomerJanFebMarAprMayJunJulAugSepOctNovDec
AAA101112131415161718192021
BBB303132333435363738394041
CCC202122232425262728293031
Total606366697275788184879093

 

-M.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from vicky_ , please allow me to add some more information:
Hi  @martinnilsson ,

You can use the matrix viusal to achieve the desired result.

vyangliumsft_0-1739437209518.png

I created sample data:

vyangliumsft_1-1739437209519.png

Place [Customer] in Rows and [Date] in Columns to show the date hierarchy results and only show “Quarter” and “Month”.

vyangliumsft_2-1739437248941.png

Click on the yellow icon to display the full hierarchy, and here the data for [Month] will be displayed:

vyangliumsft_3-1739437248943.png

Visualizations –  Column Subtotals set to OFF

vyangliumsft_4-1739437278864.png

Visualizations – Title is set to ON

Text – You can customize the content of the header here

Horizontal alignment – Set to center

vyangliumsft_5-1739437295987.png

 

 

Best Regards,

Liu Yang

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

2 REPLIES 2
Anonymous
Not applicable

Thanks for the reply from vicky_ , please allow me to add some more information:
Hi  @martinnilsson ,

You can use the matrix viusal to achieve the desired result.

vyangliumsft_0-1739437209518.png

I created sample data:

vyangliumsft_1-1739437209519.png

Place [Customer] in Rows and [Date] in Columns to show the date hierarchy results and only show “Quarter” and “Month”.

vyangliumsft_2-1739437248941.png

Click on the yellow icon to display the full hierarchy, and here the data for [Month] will be displayed:

vyangliumsft_3-1739437248943.png

Visualizations –  Column Subtotals set to OFF

vyangliumsft_4-1739437278864.png

Visualizations – Title is set to ON

Text – You can customize the content of the header here

Horizontal alignment – Set to center

vyangliumsft_5-1739437295987.png

 

 

Best Regards,

Liu Yang

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

vicky_
Super User
Super User

The easy option (but not as performant) is to use an automatic date / time feature: https://www.sqlbi.com/articles/automatic-time-intelligence-in-power-bi/, which generates a heirarchy for you that can easily be used in your reports. If you have an existing date table, it would be easy enough to add 2 columns for qtr and month - something like:

Month = FORMAT(YourTableName[Date], "M")

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.