Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Tengo matrix_2 donde quiero tomar el valor de fecha de una segmentación de datos que filtra matrix_1 y muestra los valores que se desfasa por -7 días. Por lo tanto, si muestra valores para el lunes en matrix_1, quiero matrix_2 mostrar los valores del lunes anterior.
Estoy usando dateadd(selectedvalue(table[transaction_date]), -7, día) pero estoy recibiendo error:
una función 'selectedvalue' se ha utilizado en una expresión true/false que se utiliza como expresión de filtro de tabla. Esto no está permitido. Espero que alguien pueda ayudar. Gracias.
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
Hola
Asegúrese de que tiene una tabla de calendario y la segmentación de datos tiene la columna Fecha de esta tabla Calendario. Esta medida debería funcionar
•min(calendario[fecha])-7
Espero que esto 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
Wow no sabía que se puede hacer eso sin la función selectedvalue. Funcionó, desafortunadamente no me ayudó con lo que quería hacer. Pero gracias, me ayudará en el camino.
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