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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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