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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
jayceeb
Helper I
Helper I

Total per month in column

Hi, I have a data that I want to get the total per month but i want it to be in column. how can i make it in tabular format in visual

data:

jayceeb_0-1736929071237.png

I want the result to be like this

 

 Jan 2025Feb 2025
A43
B86
C1210
1 ACCEPTED SOLUTION
speedramps
Community Champion
Community Champion

Try this ....

 

Use Power Query to edit the query table.

Right click on teh date column and left click, on "Unpivot Other Columns".

It will default the ABC column to Attrobute" but you can rename it.

Save and apply  the query  

 

 

Add a column (or use a calenadar table) 

 Period = FORMAT(yourdata[Date],"YYYY MMM") 

 

Add a matrix visual to your report 

 

 

Please click the [accept solution] and thumbs up buttons.
At the very least please click the thumbs up button.
Thank you.

  

 

 

  

  

speedramps_0-1736933458934.png

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @jayceeb ,

Thanks for speedramps's reply!
DAX may not do exactly what you need, and as speedramps's reply, maybe using Power Query is the best option.
If you must use DAX, I'm afraid you will only get your desired result transposed.
Use this DAX to create a calculated table :

MonthlySummary = 
SUMMARIZE(
    OriginalTable,
    OriginalTable[MonthYear],
    "A", SUM(OriginalTable[A]),
    "B", SUM(OriginalTable[B]),
    "C", SUM(OriginalTable[C])
)

And the final output is as below:

vjunyantmsft_0-1737008199392.png


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

 

speedramps
Community Champion
Community Champion

Try this ....

 

Use Power Query to edit the query table.

Right click on teh date column and left click, on "Unpivot Other Columns".

It will default the ABC column to Attrobute" but you can rename it.

Save and apply  the query  

 

 

Add a column (or use a calenadar table) 

 Period = FORMAT(yourdata[Date],"YYYY MMM") 

 

Add a matrix visual to your report 

 

 

Please click the [accept solution] and thumbs up buttons.
At the very least please click the thumbs up button.
Thank you.

  

 

 

  

  

speedramps_0-1736933458934.png

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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