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
Hikmet_JCI
Helper I
Helper I

need a column with sums of category

Hello

I dont get any further
need a column with sums of category

 

Hikmet_JCI_0-1638999596789.png

Danke

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

Hi,
Worked solution with this as a calculated column is here:

Example 

However you can also just drop the cat column straight into the rows of a matrix and the un column into the Values:

bcdobbs_0-1639000800013.png

 





Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

5 REPLIES 5
Hikmet_JCI
Helper I
Helper I

Hi..

thanks

I would like to use the new column as a sliding filter and should accept other filters

 

??

Ashish_Mathur
Super User
Super User

Hi,

Write this calculated column formula

Sum = calculate(sum(data[un]),filter(data,data[cat]=earlier(data[cat])))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi..

thanks

I would like to use the new column as a sliding filter and should accept other filters

Hi,

Since mine is a calculated column solution, you will be able to use that calculated column in a filter.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
bcdobbs
Community Champion
Community Champion

Hi,
Worked solution with this as a calculated column is here:

Example 

However you can also just drop the cat column straight into the rows of a matrix and the un column into the Values:

bcdobbs_0-1639000800013.png

 





Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

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