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.
¡Hola expertos! 🤗
Estoy tratando de crear una tabla que tenga unverage quarter ventas desde julio'2018, hasta hoy
Así que tendría algo así:
JAS'18 (julio, agosto y sep) | OND'18 (oct, nov & dec) | JFM'19 | AMJ'19 | |
Ventas | Xxxx | Xxxxx | Xxxx | Xxxxx |
Sin embargo, sihen aplico mis fórmulas, los mismos datos mostrados para dos trimestres diferentes, como below:
yt hese son las fórmulas que utilicé:
Solved! Go to Solution.
@yohandipt, intente ajustar la fecha en una función FECHA:
JAS'19 =
CALCULATE (
SUM ( 'BASE_SELL_OUT (2)'[Sell Out(MSU)] ),
DATESINPERIOD ( Amonth[AMonth], DATE ( 2019, 07, 01 ), 2, MONTH )
) / 3
Proud to be a Super User!
@yohandipt , debe probar Datesqtd si es posible con la tabla de fechas.
QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(('Date'[Date])))
Last QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],-1,QUARTER)))
Last complete QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD( ENDOFQUARTER(dateadd('Date'[Date],-1,QUARTER))))
Last to last QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(dateadd('Date'[Date],-2,QUARTER)))
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, únete a ella con la columna de fecha de tus hechos. recomienda:
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.
@yohandipt, intente ajustar la fecha en una función FECHA:
JAS'19 =
CALCULATE (
SUM ( 'BASE_SELL_OUT (2)'[Sell Out(MSU)] ),
DATESINPERIOD ( Amonth[AMonth], DATE ( 2019, 07, 01 ), 2, MONTH )
) / 3
Proud to be a Super User!
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 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |