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.
Buenos días a todos.
Necesito un cálculo de medida para contar el número de MONTH (medida 1) y el número de SEMANAS (medida 2) en el rango de condiciones de 10% a 90% para (Cantidad % Progreso Acumulado)
Tenga en cuenta que el % de cantidad de progreso acumulativo es un MEDIDA. Tengo una tabla de calendario que tiene las columnas Fecha, Mes y Fin de semana.
Intenté este cálculo, pero no funcionó para Counting No. de MESES -->
IF([% Complete_Qty]>-0.1 && [% Complete_Qty]<-0.9, DATEDIFF(FIRSTDATE(_Calendar[Date]),LASTDATE(_Calendar[Date]),MONTH),0)
Devuelve 0, funciona si cruzo los meses en la tabla.
¡¡Salud!!
Solved! Go to Solution.
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hola @AllisonKennedy
Las medidas utilizadas son para
1. % Complete_Qty á sum('Quantity'[Qty])/CALCULATE(sum('Quantity'[Qty]),all('_Calendar'))
MMM-AA | Período de qty | Período de cantidad acumulativo | Progreso de la cantidad % | Progreso de cantidad % acumulativo |
Jul-22 | 331,855 | 331,855 | 12.76% | 12.76% |
22 de agosto | 345,008 | 676,863 | 13.27% | 26.03% |
Sep-22 | 467,422 | 1,144,285 | 17.97% | 44.00% |
Oct-22 | 307,273 | 1,451,558 | 11.81% | 55.81% |
Nov-22 | 297,517 | 1,749,075 | 11.44% | 67.25% |
Dic-22 | 378,958 | 2,128,033 | 14.57% | 81.82% |
Enero-23 | 268,027 | 2,396,060 | 10.31% | 92.13% |
Feb-23 | 204,719 | 2,600,779 | 7.87% | 100.00% |
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
@AllisonKennedy - Perfecto! Eso funcionó... ¡Sólo tenía que usar"% Complete_Qty_Cumulative"! Cheers
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
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 | |
2 | |
2 | |
2 | |
1 |