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
Anonymous
Not applicable

Using Sum With Multiple Column

  • I have to sum of the VALOR Column where the NR_IT_PED of the TABLE B is equal to the NR_IT_PED of the TABLE ACapture.PNG

     

     

I have to sum of the VALOR Column where the NR_IT_PED of the TABLE B is equal to the NR_IT_PED of the TABLE A

 

Help Please  *_*

 

2 ACCEPTED SOLUTIONS
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous

 

Hopefully this measure in TableA will do your job

Measure =
CALCULATE (
    SUM ( TableA[VALOR] ),
    INTERSECT ( ALL ( TableA[NR_IT_PED] ), ALL ( TableB[NR_IT_PED] ) )
)

Regards
Zubair

Please try my custom visuals

View solution in original post

Anonymous
Not applicable

 

Ty man ;D

 

sorry I'm a newbie 

 

everything worked

View solution in original post

2 REPLIES 2
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous

 

Hopefully this measure in TableA will do your job

Measure =
CALCULATE (
    SUM ( TableA[VALOR] ),
    INTERSECT ( ALL ( TableA[NR_IT_PED] ), ALL ( TableB[NR_IT_PED] ) )
)

Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

 

Ty man ;D

 

sorry I'm a newbie 

 

everything worked

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.