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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

Top Solution Authors