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
Mi objetivo final es hacer un procedimiento de informes automatizado, donde copiaré/pegaré cada mes un nuevo archivo de Excel (saldo de prueba de cada mes) en una carpeta y, a continuación, el resultado aparecerá en un panel de Power BI en un formato de matriz donde cada columna es un mes y otras columnas son Q1, Q2, 6 meses, etc. Cada fila representa los números de cuenta del balance. Los archivos originales tienen >100k filas/cuentas y la fecha está en un formato D/M/YYYY.
Mi problema es que el saldo del ensayo tiene números acumulativos, así que tengo que restar cada columna para tener el resultado de un mes específico, es decir, Mar - Feb - Cambio en marzo. ¿Alguna idea de cómo puedo abordar este problema?
Lamentablemente, no puedo compartir mis datos originales, así que creé la tabla de consulta de potencia y la matriz de informes en el panel con números ficticios.
Gracias de antemano!
Salud
Alex
Solved! Go to Solution.
Parece que está intentando crear una medida calculada. Debe hacer esto como una COLUMNA.
Consulte el archivo pbix adjunto a continuación firma para referencia sobre lo que he hecho.
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 Alison,
Gracias por la respuesta. En mis datos reales hay miles de filas (número de cuenta) cada día, omití algunos meses en mi ejemplo ficticio. Cada número de cuenta muestra el ammount acumulativo, por lo que cada mes se hace más grande y más grande, PERO también hay algunos meses que siguen siendo los mismos (es decir, no se mueven).
Permítanme darles otro ejemplo,
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
Tengo este tipo de error,
"No se puede determinar un único valor para la columna 'CumulativeTotal' en la tabla 'Combinar'. Esto puede suceder cuando una fórmula de medida hace referencia a una columna que contiene muchos valores sin especificar una agregación como min, max, count o sum para obtener un único resultado."
¿Alguna idea o sugerencia?
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
Hice clic por error el botón "resuelto", lo siento 😕
Cuando intenté crear la nueva columna, siempre tuve un error en el ANTERIOR y más específico que la línea roja estaba debajo de la letra L, ¿alguna pista?
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
Claro, aquí está el error y la función que utilicé
Parece que está intentando crear una medida calculada. Debe hacer esto como una COLUMNA.
Consulte el archivo pbix adjunto a continuación firma para referencia sobre lo que he hecho.
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
Genial, problema resuelto! ¡El archivo que me enviaste ayudó mucho! ¡¡Gracias!! 🙂
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
La idea/problema de alto nivel que tengo es que en la captura de pantalla,
Mientras cargo cada mes un nuevo Excel, automáticamente con la consulta de energía va por debajo del mes anterior y para hacer el informe final tengo que primero poner los valores en columnas por mes y luego calcular los cambios. (para que pueda crear fácilmente más columnas como año, 6 meses, trimestres KPI, etc.)
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 |