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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Matrix- ¡Faltan mes y fecha cuando no hay datos!

Hola a todos

Tengo una tabla matricial donde hay valores en cada mes y año (Acumulativo). Hice un ejemplo falso en Excel a continuación.

Jitmondo_0-1647941813740.png

Cuando filtro a un equipo específico que no tiene datos en el mes, la columna desaparece. Quiero mostrar los 12 meses completos, independientemente de si no tenemos valores en ellos. También falta la opción de mostrar valores sin datos :S

Estoy usando esta fórmula para los valores de la matriz:

Cum_Weighted_Pipeline = CALCULAR(SUMX('Oportunidad','Oportunidad'[Tubería ponderada]), FILTRO(TODO('Fechas'),'Fechas'[Fecha]<=MÁXIMO('Fechas'[Fecha]) && (AÑO('Fechas'[Fecha])>=AÑO(HOY()))))
¿Alguna idea sobre lo que podría hacer o si realmente es posible obtener el resultado deseado que quiero?
1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@Jitmondo , En este caso, si está utilizando el mes año a partir de la tabla de fechas, debe obtener todo el mes

o agregue +0

Cum_Weighted_Pipeline = CALCULATE(SUMX('Opportunity','Opportunity'[Weighted Pipeline]), FILTER(ALL('Dates'),'Dates'[Date]<=MAX('Dates'[Date]) && (YEAR('Dates'[Date])>=YEAR(TODAY())))) +0

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@Jitmondo , En este caso, si está utilizando el mes año a partir de la tabla de fechas, debe obtener todo el mes

o agregue +0

Cum_Weighted_Pipeline = CALCULATE(SUMX('Opportunity','Opportunity'[Weighted Pipeline]), FILTER(ALL('Dates'),'Dates'[Date]<=MAX('Dates'[Date]) && (YEAR('Dates'[Date])>=YEAR(TODAY())))) +0

Gracias por volver a mí utilicé una medida del siguiente post - Resultado con Cero = VAR Resultado = [Cum_Weighted_Pipeline] devolver IF(result,result,0)

Esto combinado con la fórmula original bloqueó la tabla 🙂

https://community.powerbi.com/t5/user/viewprofilepage/user-id/55216

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors