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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Create table sum value by month

Hello everyone,

 

I need help to create this table :

I try some tips but I cannot do it..

 

Name

sum

January

sum

February

sum

March

sum

April

sum

May

sum

June

sum

July

sum

August

sum

September

sum

October

sum

November

sum

December

Total SUM
Toto2132332546565767845454332 
              

 

I have this two columns in my original table :

 

DATEVALUE toto
14/04/2020 00:0062
14/04/2020 01:0061,5
14/04/2020 02:0062
14/04/2020 03:0060,167
15/04/2020 00:0058,333
15/04/2020 01:0058
15/04/2020 02:0059
15/04/2020 03:0059,833
16/04/2020 00:0058,667
16/04/2020 01:0059
16/04/2020 02:0057
16/04/2020 03:0069,167

 

Can you help my ?

 

Thank you

1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

You may put Month level of [PLOT DATE] date hierarchy into Columns box of Matrix visual, put [Value name] into Rows box, put [Value] into Values box , set aggregation as "Sum".

113.PNG

 

 

 

 

 

 

 

 

 

 

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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
Anonymous
Not applicable

Thank you @amitchandak

 

I am not sure to be clear.

 

This is my input data :

 

PLOT DATE VALUE
14/04/2020 00:00 62
14/04/2020 01:00 61,5
14/04/2020 02:00 62
14/04/2020 03:00 60,167
15/04/2020 00:00 58,333
15/04/2020 01:00 58
15/04/2020 02:00 59
15/04/2020 03:00 59,833
16/04/2020 00:00 58,667
16/04/2020 01:00 59
16/04/2020 02:00 57
16/04/2020 03:00 69,167

 

I would like to create this table in power BI:

 

January

February

March

April

May

June

July

Total SUM
VALUE000724,667000724,667

 

Anonymous
Not applicable

I obtain this table :

 Capture.PNG

 

 

 

But I would like to invert Columns and rows.

Like month on first rows and value name on first columns.

 

Thank you in advance

Hi @Anonymous ,

 

You may put Month level of [PLOT DATE] date hierarchy into Columns box of Matrix visual, put [Value name] into Rows box, put [Value] into Values box , set aggregation as "Sum".

113.PNG

 

 

 

 

 

 

 

 

 

 

 

Best Regards,

Amy 

 

Community Support Team _ Amy

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

amitchandak
Super User
Super User

@Anonymous , Not very clear to me. But you can create a date table and join it with date and have month year in date table and group data on that.

 

In case of date has a timestamp , create a new date to join

 

New Date =[date].date

 

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

See if my webinar on Time Intelligence can help: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-YTD-LYTD-Week-Over-Week/m-p/1051626#M184


Appreciate your Kudos.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors