Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hola
¿Alguna idea sobre cómo un promedio rodante dinámico y un gasto son dinámicos en función de las cortadoras?
Acabo de notar que los números no cambian cuando uso diferentes rebanadoras como World Area, Commodity, etc.
He adjuntado aquí el archivo pbi.
https://drive.google.com/file/d/1XhnWQcAFO1i15tz-Ukna2TjdFL0UKT_8/view?usp=sharing
A continuación mi fórmula:
Solved! Go to Solution.
@jovendeluna21 , Con la ayuda de la tabla de fechas, medidas como la medida de ejemplo deberían ayudar
Rolling 30 = calculate(AverageX(Values('Date'[Date]),CALCULATE(sum(Sales[Sales Amount]))),DATESINPERIOD('Date'[Date],MAX('Date'[Date ]),-30,DAY))
@jovendeluna21 , Con la ayuda de la tabla de fechas, medidas como la medida de ejemplo deberían ayudar
Rolling 30 = calculate(AverageX(Values('Date'[Date]),CALCULATE(sum(Sales[Sales Amount]))),DATESINPERIOD('Date'[Date],MAX('Date'[Date ]),-30,DAY))
Probé este pero me dio un número incorrecto
@jovendeluna21 , Para días promedio
Rolling N = calculate(AverageX(Values('Date'[Date]),CALCULATE(sum('AVE PAYMENT TERMS RAW DATA'[TOTAL_SPEND]))),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-1* [Parameter Value],MONTH))
Para Meses Promedio// Suma hasta mes Publicación media que
Rolling N = calculate(AverageX(Values('Date'[Month Year]),CALCULATE(sum('AVE PAYMENT TERMS RAW DATA'[TOTAL_SPEND]))),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-1* [Parameter Value],MONTH))
@jovendeluna21 , Para días promedio
Rolling N = calculate(AverageX(Values('Date'[Date]),CALCULATE(sum('AVE PAYMENT TERMS RAW DATA'[TOTAL_SPEND]))),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-1* [Parameter Value],MONTH))
Para Meses Promedio// Suma hasta mes Publicación media que
Rolling N = calculate(AverageX(Values('Date'[Month Year]),CALCULATE(sum('AVE PAYMENT TERMS RAW DATA'[TOTAL_SPEND]))),DATESINPERIOD('Date'[Date],MAX('Date'[Date]),-1* [Parameter Value],MONTH))
Todavía mal, en realidad los números que tengo ya son correctos usando mis medidas DAX anteriores, es solo que cuando uso otras rebanadoras los números no cambian, lo que debería ser.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!