Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
romovaro
Post Partisan
Post Partisan

SUMAR TOTALES 2 Custom Tables

Buenas tardes,

 

Tengo una tabla general llamada "BPMS LOF Report". De ella he creado 2 "custom tables"

"simplemente lo que necesito es conseguir sumar el total de CUID de las 2 tablas pero tengo problemas...

En este caso seria 819 + 212.

 

Gracias

 

romovaro_0-1646751947333.png

romovaro_1-1646752086087.png

 

 

 

Booked by Pre Eng Team table:

Booked by Pre Eng Team =
VAR MeetsFirstRequirement =
CALCULATETABLE(
VALUES( 'BPMS LOF Report'[CUID] ),
CONTAINSSTRING(
'BPMS LOF Report'[TASK],
"Start Partner Engagement"
)
&& 'BPMS LOF Report'[TASKACTUALPERFORMER] = "Will Smith"
|| 'BPMS LOF Report'[TASKACTUALPERFORMER] = "John SMith"
|| 'BPMS LOF Report'[TASKACTUALPERFORMER] = "Juan Fernandez"
)
VAR MeetsBothRequirements =
CALCULATETABLE(
VALUES( 'BPMS LOF Report'[CUID] ),
MeetsFirstRequirement,
'BPMS LOF Report'[TASK_STATUS] = "Closed",
CONTAINSSTRING(
'BPMS LOF Report'[TASK],
"Partner Acknowledgement"
)
)
VAR Result =
ADDCOLUMNS (
MeetsBothRequirements,
"Date Closed",
CALCULATE (
MAX ( 'BPMS LOF Report'[Task Completed]),
'BPMS LOF Report'[TASK_STATUS] = "Closed",
CONTAINSSTRING (
'BPMS LOF Report'[TASK],
"Partner Acknowledgement"
)
)
)
RETURN
Result
 
 
I otra tabla
To be confirmed Pre Eng Team
To be Confirmed Pre Eng Team =
VAR MeetsFirstRequirement =
CALCULATETABLE(
VALUES( 'BPMS LOF Report'[CUID] ),
CONTAINSSTRING(
'BPMS LOF Report'[TASK],
"Start Partner Engagement"
)
&& 'BPMS LOF Report'[TASKACTUALPERFORMER] = "Will Smith"
|| 'BPMS LOF Report'[TASKACTUALPERFORMER] = "John SMith"
|| 'BPMS LOF Report'[TASKACTUALPERFORMER] = "Juan Fernandez"
)
VAR MeetsBothRequirements =
CALCULATETABLE(
VALUES( 'BPMS LOF Report'[CUID] ),
MeetsFirstRequirement,
'BPMS LOF Report'[TASK_STATUS] = "Received",
CONTAINSSTRING(
'BPMS LOF Report'[TASK],
"Partner Acknowledgement"
)
)
VAR Result =
ADDCOLUMNS (
MeetsBothRequirements,
"Date Closed",
CALCULATE (
MAX ( 'BPMS LOF Report'[Task Completed]),
'BPMS LOF Report'[TASK_STATUS] = "Received",
CONTAINSSTRING (
'BPMS LOF Report'[TASK],
"Partner Acknowledgement"
)
)
)
RETURN
Result
1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

¿ @Syndicate_Admin

¿Utiliza la agregación de recuento en columnas CUID para obtener el 819 y el 212? Si es así, puede crear una medida para agregar ambos.

Total CUID = COUNT('Booked by Pre Eng Team'[CUID]) + COUNT('To be Confirmed Pre Eng Team'[CUID])

Ponga la medida anterior en una tarjeta visual. Obtendrá el valor total.

Saludos
Equipo de soporte de la comunidad _ Jing
Si esta publicación ayuda, por favor acéptala como Solución para ayudar a otros miembros a encontrarla.

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

¿ @Syndicate_Admin

¿Utiliza la agregación de recuento en columnas CUID para obtener el 819 y el 212? Si es así, puede crear una medida para agregar ambos.

Total CUID = COUNT('Booked by Pre Eng Team'[CUID]) + COUNT('To be Confirmed Pre Eng Team'[CUID])

Ponga la medida anterior en una tarjeta visual. Obtendrá el valor total.

Saludos
Equipo de soporte de la comunidad _ Jing
Si esta publicación ayuda, por favor acéptala como Solución para ayudar a otros miembros a encontrarla.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.