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.
Hola a todos,
Estoy tratando de mostrar los fichajes vs el objetivo (calendarizado), pero todavía no tenemos los datos de firmas de mayo a diciembre de 2021.
¿Cómo puedo hacer para evitar los datos para mostrar "92" de mayo a diciembre?
Estas son mis 2 medidas:
Gracias.
Solved! Go to Solution.
Dado que no hay sus datos reales, así que construí un modelo yo mismo, usted puede referirse a él, espero que pueda traerle ayuda.
Datos base:
a continuación, utilice la siguiente medida:
actsum =
VAR test1 =
CALCULATE (
SUM ( 'Table'[act] ),
FILTER ( ALL ( 'Table' ), 'Table'[month] <= MAX ( 'Table'[month] ) )
)
VAR test2 =
CALCULATE (
MIN ( 'Table'[month] ),
FILTER ( ALL ( 'Table' ), 'Table'[act] = BLANK () )
)
VAR test3 =
IF ( MAX ( 'Table'[month] ) < test2, test1, BLANK () )
RETURN
test3
taract = CALCULATE(SUM('Table'[tar]),FILTER(ALL('Table'),'Table'[month]<=MAX('Table'[month])))
Y final obtener lo siguiente:
Puede descargar mi archivo pbix si lo necesita.
Saludos
Lucien
Dado que no hay sus datos reales, así que construí un modelo yo mismo, usted puede referirse a él, espero que pueda traerle ayuda.
Datos base:
a continuación, utilice la siguiente medida:
actsum =
VAR test1 =
CALCULATE (
SUM ( 'Table'[act] ),
FILTER ( ALL ( 'Table' ), 'Table'[month] <= MAX ( 'Table'[month] ) )
)
VAR test2 =
CALCULATE (
MIN ( 'Table'[month] ),
FILTER ( ALL ( 'Table' ), 'Table'[act] = BLANK () )
)
VAR test3 =
IF ( MAX ( 'Table'[month] ) < test2, test1, BLANK () )
RETURN
test3
taract = CALCULATE(SUM('Table'[tar]),FILTER(ALL('Table'),'Table'[month]<=MAX('Table'[month])))
Y final obtener lo siguiente:
Puede descargar mi archivo pbix si lo necesita.
Saludos
Lucien
@WhiteLight_FI , Trate de medir como
Firmas acumulados =
var _1 = maxx(allselected('Calendar'), 'Calendar'[KeyDate])
devolución
CALCULATE(SUM('Opp Table'[Premium €]),'Opp Table'[Estado de negociación]="7-Won", 'Opp Table'[Fecha de firma de estado (Año)]=2021,
FILTRO (ALL('Calendario'),
'Calendario'[KeyDate]<= MAX('Calendario'[KeyDate]) && 'Calendario'[KeyDate] <= _1))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |