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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mmm286b
Helper I
Helper I

group by date and sum results

Hi 

I have these table:

 

mmm286b_0-1733257262354.png

I need to group by Date and sum the works in a table  like these:

 

mmm286b_1-1733257286216.png

How could I do these with PowerBi?

Thanks!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @mmm286b 

Date fields can be grouped by day by following the settings below.

vyaningymsft_0-1733304890705.png

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. 
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi, @mmm286b 

Thanks for FreemanZ's reply. Simply create the Table visual object and put the Date and Works fields into it.

vyaningymsft_1-1733290352716.png

 

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Hi @Anonymous . I'm trying to generate line graph with total by date and total by server but don't works. It seems group by all month.

 

mmm286b_0-1733298489651.png

 

 

Anonymous
Not applicable

Hi, @mmm286b 

Date fields can be grouped by day by following the settings below.

vyaningymsft_0-1733304890705.png

Best Regards,
Yang

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. 
Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

thanks! I'm tryng to generate graph line with these values, (works and sum of works by day) but I can't see anything in the graph:

 

mmm286b_0-1733296702970.png

 

FreemanZ
Super User
Super User

hi @mmm286b ,

 

you can plot a table visual with date column a measure like:

measure = SUM(data[WORKS])

 

or write a calculated table like:

Table = 

ADDCOLUMNS(

VALUES(data[date]),

CALCULATE(SUM(data[WORKS]))

)

 

or?

Thanks.

And If I would like to add in line graph.

How could I do that? 

hi @mmm286b ,

 

try put date column to x-axis and the measure to y-axis.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.