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
Anonymous
Not applicable

Calcular recuento diferenciado mediante el filtro de fecha

Tengo problemas para obtener un recuento distinto de mi tabla usando la selección de fecha de otra segmentación de tabla. Las dos tablas no tienen ninguna relación activa y la segmentación de datos solo filtra la tabla 1, no la tabla 2. Quiero usar la fecha seleccionada en la tabla 1 cortadora, para ayudar a dictar qué contar en la tabla 2.

Por lo tanto, empiezo usando selectedvalue() para extraer ese valor de fecha de segmentación de tabla 1, vamos a llamarlo table_1_date

A continuación, utilizo la siguiente fórmula DAX (aproximadamente): calculate(distinctcount(employee_size),table_2_date-table_1_date)

Pero no me está dando ningún valor.

¿Pensamientos?

0 REPLIES 0

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.