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! Request now

Reply
mikeohara
Frequent Visitor

Sum values from visible rows grouping based on another column

 

Hello,

 

I aim to show sum of values from one column (AMT_COL) grouped on another one (ID_COL) as new column (SUM_COL).

 

I have created SUM_COL using following formula:

 

TestCalculation = SUMX(FILTER(Table1;Table1[ID_COL] = EARLIER(Table1[COL_ID]));Table1[AMT_COL])

However it gives me sum of all grouped rows, even those that are currently filtered out (I filter on DATE_COL).

 

Any tips how to include that visibility aspect to my formula?

 

Thanks in advance.

Mike

1 ACCEPTED SOLUTION
2 REPLIES 2
sokg
Solution Supplier
Solution Supplier

Can ypu provide us sample data???

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