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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

SharePoint 2013 list - group by month and sum

Hello all,

 

i am new to PowerBi and i my data resides at a SharePoint 2013 list on-prem. The data from the list is below:

 

IT Budget.PNG

 

i would like to add a column at PowerBi desktop which will summarize per months and will show the totals from the positive values (+) at the Amount column and the negative values (-) at the Amount column.

 

thank you in advance.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a calculated column,

year-month = FORMAT([date],"yyyymm")

Then create a measure

Measure = CALCULATE(SUM('sum value test'[amount]),ALLEXCEPT('sum value test','sum value test'[year-month]))

Capture5.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
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

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Create a calculated column,

year-month = FORMAT([date],"yyyymm")

Then create a measure

Measure = CALCULATE(SUM('sum value test'[amount]),ALLEXCEPT('sum value test','sum value test'[year-month]))

Capture5.JPG

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
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.