Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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:
I want the result to be like this
Jan 2025 | Feb 2025 | |
A | 4 | 3 |
B | 8 | 6 |
C | 12 | 10 |
Solved! Go to Solution.
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.
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:
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.
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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
10 |
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
8 |