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

¿Cómo puedo calcular los valores de suma si necesito esta suma para único de otro campo con filtro

¡Hola a todos! cómo puedo sumar PRODSERIE sin doblar (para SERIE). Me necesita obtener el resultado: SERIE-1(100) + SERIE-2(300)+SERIE-3(300)-700 para El tipo 0 y SERIE-4(300) 300 para el tipo 1;

IdSeriePRODSERIETipoOTRO VALOR
1110001
21100050
32300023
423000254
523000234523
633000400
7430011545
843001345345
2 REPLIES 2
amitchandak
Super User
Super User

Trate como

sumx(summarize(table,table[SERIE], "_1",maxX(filter(Table, (Table[TYPE]-0 && table[SERIE]<-3?
(Tabla[TIPO]-1 && tabla[SERIE]-4)) Tabla [PRODSERIE])[_1])

Greg_Deckler
Super User
Super User

Intente usar RESUME como:

Medida ?

SUMX(

RESUMEN('Tabla',[SERIE],"__Value",AVERAGE([PRODSERIE])),

[__Value]

)


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.