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
Me gustaría combinar valores de FY22 y FY23 en visualizaciones. En archivos tengo fecha de calendario. El año fiscal comienza en octubre. ¿Cómo puedo hacer una columna con Mes y fecha fiscal?
Quiero hacer sth así, pero como puedes ver las fechas están desordenadas. (Acabo de fusionar P01 con un año y creo que es un enfoque equivocado),
Gracias por la ayuda de antemano,
Aleks
Puede intentar crear algunas columnas
year = year('Table'[Date])
month = month('Table'[Date])
fiscalyear = if('Table'[month]>=10,'Table'[year]+1,'Table'[year])
fiscalmonth = if('Table'[month]>=10,'Table'[month]-9,'Table'[month]+3)
yearmonth = 'Table'[fiscalyear]*100+'Table'[fiscalmonth]
Column = "P"&right("0"&'Table'[fiscalmonth],2)&":"&'Table'[fiscalyear]
Por favor, vea el archivo adjunto a continuación
Tengo el mismo problema con la función If:
Cuando abrí el archivo de usted también hay errores.
No vi el mensaje de error en su archivo PBIX. ¿Cuál es el mensaje de error en su propio archivo pbix?
Este es el error:
¿Podría usted pls proporcionar el archivo PBIX?
desafortunadamente, no 😞 puedo
Hola amitchandak,
Esta fórmula no funciona. Generalmente, tengo un problema con la fórmula If.
cuando agrego <10 no puedo continuar con ResultifTrue.
Necesita la siguiente columna
Período = "P" & format(if(month([Date]) <10, month([Date])+3, month([Date]) -9 ),"00")
Año Período = "P" & format(if(month([Date]) <10, month([Date])+3, month([Date]) -9 ),"00")& "-" & if(month([Date]) <10, Year([Date]), Year([Date]) +1 ) //puede cambiar esta lógica
Ordenar período de año = if(mes([Fecha]) <10, Año([Fecha]), Año([Fecha]) +1 )*100 + if(mes([Fecha]) <10, mes([Fecha])+3, mes([Fecha]) -9 )
marcar ordenar Período del año como columna de ordenación del Período del año
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |