cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Necesidad de escribir consulta sql de dax puede alguien ayudarme

Necesidad de escribir una consulta sql desde la consulta dax puede alguien ayudarme con eso

Total de días calendario pendientes – Transacciones de trabajo en curso ?
VAR SelLastDate [Fecha pasada seleccionada v2]
Resumen de VAR Tabla de resumen de VAR ( VAR SummaryTable)
CALCULATETABLE(
SUMMARIZE(ClaimCase, ClaimCase[ClaimId], ClaimCase[Días de calendario pendientes]),
USERELATIONSHIP(ClaimCase[CaseCreationDateId], DimDate[DateId]),
ALL(DimDate),
ClaimCase[CaseCreatedOn] <- SelLastDate,
ClaimCase[CompletedOn] á BLANK())
devolución
SUMX(SummaryTable, ClaimCase[Días de calendario pendientes])
1 REPLY 1
Super User IV
Super User IV

@Venkateswara_ra ,

Algo así

Seleccione sum( ClaimCase[Días de calendario pendientes]) de (
seleccionar ClaimCase distinto. [ClaimId], ClaimCase. [Días calendario pendientes]
de ClaimCase unión interna DimDate on (ClaimCase.[ CaseCreationDateId]- DimDate. [DateId])
donde ClaimCase. [CaseCreatedOn] <? Fecha que tienes que aprobar
y ClaimCase[CompletedOn] es null
)



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Helpful resources

Announcements
November Update

Check it Out!

Click here to read more about the November 2020 Updates!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform October Community Highlights

Check out the top community contributors across all of the communities

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors