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
Syndicate_Admin
Administrator
Administrator

Medida que no calcula todas las filas

Hola a todos,

Tengo las siguientes medidas que se supone que calculan el maxDate y el currentDate de LASTMODIFIED

maxDate se calcula con referencia a TC_ID porque a veces hay varios resultados para un ID
y solo quiero la última.
CurrentResult =
var currentDate = CALCULATE(MAXX(RESULT,RESULT[LASTMODIFIED]))
devolver currentDate
LatestResult =
var MaxDate = CALCULATE(MAXX(RESULT,RESULT[LASTMODIFIED]),
ALLEXCEPT(RESULT,RESULT[TC_ID]))
volver MaxDate
Esto da como resultado la siguiente tabla. Donde LatestResult está absolutamente bien, me pregunto por qué CurrentResult no está dando un resultado para todas las filas ...

Luca1234_0-1636023805281.png

¿Puede alguien por favor ayudarme con esto?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Descubrí eso haciendo esto:

CurrentResult =
var currentDate = CALCULATE(MAXX(RESULT,RESULT[LASTMODIFIED]),

ALLEXCEPT(RESULT,RESULT[LASTMODIFIED]))
devolver currentDate

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Descubrí eso haciendo esto:

CurrentResult =
var currentDate = CALCULATE(MAXX(RESULT,RESULT[LASTMODIFIED]),

ALLEXCEPT(RESULT,RESULT[LASTMODIFIED]))
devolver currentDate

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.