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

Necesita ayuda para obtener las columnas totales del año actual, el año anterior junto a las columnas de meses en matriz

Hola a todos, necesito su ayuda para llenar el requisito

Tengo un requisito como abajo

Necesidad de mostrar la matriz - columnas como datos de meses y también los totales de FY dinámicamente, filas son países y los valores son ventas revenu.so necesitan su ayuda de cómo agregar totales de FY dinámicamente (el inicio FY JAn y termina Dec)

PaísFY -19 TotalFY-20 TotalTotal(Fy19 + FY20)Junio-1919 de julio19 de agostosep-19Oct-19N0v-19Dic-19Enero-20Feb-20Mar-20Abr-2020 de mayoJunio-2020 de julio
India3502806302030405060708010203040506070
Nos3602906503030405060708020203040506070
2 REPLIES 2
amitchandak
Super User
Super User

@narashimha , si buscas este año vs El año pasado vs FY, puedes usar datesytd con calendario de fechas y fecha de fin de año

YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
Last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-1,Year),"12/31"))
This year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR('Date'[Date]),"12/31"))
Last year Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(ENDOFYEAR(dateadd('Date'[Date],-1,Year)),"12/31"))
Last to last YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD(dateadd('Date'[Date],-2,Year),"12/31"))
Year behind Sales = CALCULATE(SUM(Sales[Sales Amount]),dateadd('Date'[Date],-1,Year))
//Only year vs Year, not a level below

This Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])))
Last Year = CALCULATE(sum('order'[Qty]),filter(ALL('Date'),'Date'[Year]=max('Date'[Year])-1))

recomienda

https://medium.com/@amitchandak.1978/power-bi-ytd-questions-time-intelligence-1-5-e3174b39f38a

Pero si quieres una pantalla híbrida, he registrado una idea, votar por eso

Hybrid.png

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/39773011-hybrid-table

Para obtener lo mejor de la función de inteligencia del tiempo. Asegúrese de que tiene un calendario de fechas y que se ha marcado como la fecha en la vista de modelo. Además, únase a ella con la columna de fecha de su/s hecho/s. Consulte:
https://radacad.com/creating-calendar-table-in-power-bi-using-dax-functions
https://www.archerpoint.com/blog/Posts/creating-date-table-power-bi
https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/

Vea si mi seminario web sobre Time Intelligence puede ayudar: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...


Apreciamos tus Felicitaciones.

Anonymous
Not applicable

@amitchandak muchas gracias por su pronta reposnea y realmente agradezco su ayuda!

Quiero agregar las columnas FY19 ,FY20 Total (FY19+Fy20) Columnas en la misma tabla Matrix siguiendo con los datos de Month

PaísFY 19 TotalTotal del año 20Total(Fy19 + FY20)Junio-1919 de julio19 de agostosep-19Oct-19N0v-19Dic-19Enero-20Feb-20Mar-20Abr-2020 de mayoJunio-2020 de julio
India3502806302030405060708010203040506070
Nos3602906503030405060708020203040506070

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.