Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hola,
tengo esta columna calculada con IF & Lookvalue y tengo que meter temporalidad en el campo
[Duracion_del_Contrato_base__c] >12 meses y <24meses.
IF(or(Oportunidad[Producto/Prestacion Presupuesto]="Instalaciones";or(Oportunidad[Producto/Prestacion Presupuesto]="Adicional contrato instalaciones P5A";(Oportunidad[Producto/Prestacion Presupuesto]="Servicios de Ingeniería")));
LOOKUPVALUE(Presupuesto[PVP__c]; Presupuesto[Id];Oportunidad[SyncedQuoteId]);
tengo que meter esta condición la variable Duracion_del_Contrato_base__c >12meses y <24meses ,NULL)
if( LOOKUPVALUE(Presupuesto[Duracion_del_Contrato_base__c]; Presupuesto[Id];Oportunidad[SyncedQuoteId])>11;
LOOKUPVALUE(Presupuesto[PVP_Anual__c]; Presupuesto[Id];Oportunidad[SyncedQuoteId])
; LOOKUPVALUE(Presupuesto[PVP_Total_Anios__c]; Presupuesto[Id];Oportunidad[SyncedQuoteId])
)
Modfiy the code like pattern below:
Result =
VAR variable = ( [Duracion_del_Contrato_base__c] > 12
|| y < 24 )
RETURN
IF (
Oportunidad[Producto/Prestacion Presupuesto] = "Instalaciones"
|| ( Oportunidad[Producto/Prestacion Presupuesto] = "Adicional contrato instalaciones P5A"
|| Oportunidad[Producto/Prestacion Presupuesto] = "Servicios de Ingeniería" ),
condition1,
condition2
)
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yo necesito crear tres variables:
Var P2a= IF(Oportunidad[Fecha_Adjudicacion__c]=YEAR(NOW()-1;
SI Oportunidad[Duracion_Contrato_Base_meses__c]>12<24month = (Presupuesto[PVP_Anual__c]-Presupuesto[PVP_Total_Anios__c]
SI Oportunidad[Duracion_Contrato_Base_meses__c] disinto>12<24month=0)
Var P2b= IF(Oportunidad[Fecha_Adjudicacion__c]=YEAR(NOW();
Si Presupuesto[Duracion_del_Contrato_base__c] < 12 meses dame Presupuesto[PVP_Total_Anios__c]
Si Presupuesto[Duracion_del_Contrato_base__c] >12 meses dame Presupuesto[PVP_Anual__c]
Var P5= IF(Oportunidad[Fecha_Adjudicacion__c]=YEAR(NOW() dame el (Presupuesto[PVP_Total_Anios__c];0)
Return; sum(P2a;P2B;P5)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 41 | |
| 21 | |
| 18 |