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

Calcular columna a medir

Hola

¿Cómo puedo convertir lo siguiente en una medida?

Column = 
COUNTROWS( (
    FILTER (
        schedule,
        schedule[start_date] <= EARLIER ( [Date] )
          //  && schedule[end_date] >= EARLIER ( [Date] ) && schedule[no. of attachments] <> 0
          && schedule[end_date] >= EARLIER ( [Date] ) && schedule[no. of attachments] > 0
          && schedule[type] = "Appointment"
    )
))

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@pieduke88 Probar:

Column = 
  VAR __Date = MAX('Dates'[Date])
  VAR __Result = 
COUNTROWS(
    FILTER (
        ALLSELECTED(schedule),
        schedule[start_date] <= __Date
          && schedule[end_date] >= __Date && schedule[no. of attachments] > 0
          && schedule[type] = "Appointment"
    )
)

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors
Top Kudoed Authors