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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
amitchandak
Super User
Super User

@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
)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors