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
harirao
Post Prodigy
Post Prodigy

Necesidad de incluir el filtro dentro de CalculateTable

Hola a todos
Estoy trabajando en un dax , necesario para agregar un filtro dentro de la siguiente dax(highlited en verde)

Visibilidad - MEDIANX(
RESUMEN(Query1,Query1[_Wk_Cond2 actual],Query1[subregión],Query1[actual_visibility_Weeks],Query1[OpportunityId],"Viswks",
COUNT(Query1[OpportunityId])),
[actual_visibility_Weeks])

Filtro que se va a agregar, es decir, Query1[_Wk_Cond2 actual]"Sí"


Por favor, ayúdame arriba.
Gracias.

saludos
Hari
4 REPLIES 4
amitchandak
Super User
Super User

@harirao, intenta como

Visibilidad - MEDIANX(
RESUMIDA(filtro(Query1[_Wk_Cond2 real]-"Sí"
),Query1[Real _Wk_Cond2],Query1[subregion],Query1[actual_visibility_Weeks],Query1[OpportunityId],"Viswks",
COUNT(Query1[OpportunityId])),
[actual_visibility_Weeks])

Hola @amitchandak

Gracias por su respuesta, recibiendo errores.
4.PNG
saludos

Día

Visibilidad - MEDIANX(
RESUMIDO(filtro(Query1,Query1[_Wk_Cond2 actual]-"Sí"
),Query1[Real _Wk_Cond2],Query1[subregion],Query1[actual_visibility_Weeks],Query1[OpportunityId],"Viswks",
COUNT(Query1[OpportunityId])),
[actual_visibility_Weeks])

Falta Query1 en el filtro. Mi error

tex628
Community Champion
Community Champion

Prueba esto:

Visibility = 
MEDIANX(
SUMMARIZE(
 Filter(Query1,Query1[Actual _Wk_Cond2] = "Yes"),
 Query1[Actual _Wk_Cond2],
 Query1[subregion],
 Query1[actual_visibility_Weeks],
 Query1[OpportunityId],
 "Viswks",
 COUNT(Query1[OpportunityId])
),
[actual_visibility_Weeks])

Connect on LinkedIn

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.