Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Estoy tratando de crear una matriz que muestre los ingresos por ubicación y proyecto .. Los proyectos individuales están funcionando muy bien, pero la suma total en la matriz para la ubicación no está sumando los números...
Mis fórmulas
Tabla: AllocatedProjectRevenue (tabla calculada, fórmula a continuación)
Entradas:
Importe: Ingresos para un proyecto
Porcentaje Incremental : % de los ingresos incrementales
Porcentaje de reemplazo: % de los ingresos de reemplazo
ID- ID de proyecto #
Ubicación : Ubicación de la producción
Tipo de ingresos: tabla con tres opciones para el tipo de ingresos (Incremental, Reemplazo, Total)
Fórmulas:
Incremental Revenue = if(selectedvalue(AllocatedProjectRevenue[Percent Total]) = 1, SUMX(AllocatedProjectRevenue, AllocatedProjectRevenue[Amount])*SELECTEDVALUE(AllocatedProjectRevenue[Percent Incremental ], 0), 0)
2/2020 | 3/2020 | ... | 6/2020 | 7/2020 | |
Ubicación | 150 | 22v | 200 | 200 | |
-- Proyecto 1 | 50 | 75 | 75 | 75 | |
-- Proyecto 2 | 100 | 100 | 22v | 22v |
2/2020 | 3/2020 | ... | 6/2020 | 7/2020 | |
Ubicación | 0 | 0 | 0 | 0 | |
-- Proyecto 1 | 50 | 75 | 75 | 75 | |
-- Proyecto 2 | 100 | 100 | 22v | 22v |
Es posible que deba probar MAX() o AVERAGE() en lugar del valor seleccionado. En el nivel de proyecto cuando se selecciona más de una ubicación, tiene demasiadas filas para mirar y no solo hay 1 valor seleccionado para el %.
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
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |