This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Buenas Tardes
Cordial Saludo
Me gustaría calcular el crecimiento que se viene teniendo año a año en los profesores que pertenecen a cierta categoría, pero tengo los datos como se puede apreciar en la siguiente imagen:
Como pueden ver en la imagen, en la base de datos, en la columna Categoría Escalafón se encuentran todas las categorías que los profesores van teniendo año a año, por tanto, para observar cuantos profesores hay en cada categoría se realizó el recuento, pero yo quisiera mostrar también en la tabla el crecimiento año a año, por ejemplo para la Categoría "A" en 2016 se tuvo a 9 profesores y en 2017 se aumentó a 38, quisiera agregar una columna al lado, que me muestre en porcentaje cuál es el crecimiento entre periodos, pero no sé cómo realizar dicha labor, les agredecería mucho si me pueden dar luces de cómo ejecutarlo.
@Ricardo0717 , Example based on what I got
with different year/date table
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))
diff = [This Year]-[Last Year ]
diff % = divide([This Year]-[Last Year ],[Last Year ])
if you have date then with date table
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"))
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 7 | |
| 6 | |
| 6 |