Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hola
Me gustaría obtener la línea YTD% Percentage en mi línea y visual agrupado. No tengo ningún filtro de mes seleccionado. En mi consulta de equilibrio. Quiero que mi YTD% se divida por el número máximo disponible de meses en lugar de agregar los 4 meses.
Solved! Go to Solution.
puede calcular el % YTD con muchos tipos de medida.
Mi solución es primero medir el YTD y dividirlo a fechas máximas. Para tu información, mi nombre de tablas de calendario es Fechas.
YTD - TOTALYTD('your ytd table'[su valor YTD],'Dates'[Date])
YTD% á CALCULATE(SUM('your ytd table'[your ytd column]) / MAX(Dates[Date])).
y definir el tipo de medida a percantage.
Espero que ayude.
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
puede calcular el % YTD con muchos tipos de medida.
Mi solución es primero medir el YTD y dividirlo a fechas máximas. Para tu información, mi nombre de tablas de calendario es Fechas.
YTD - TOTALYTD('your ytd table'[su valor YTD],'Dates'[Date])
YTD% á CALCULATE(SUM('your ytd table'[your ytd column]) / MAX(Dates[Date])).
y definir el tipo de medida a percantage.
Espero que ayude.