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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.