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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
GuilleLus
Frequent Visitor

Calculate column error

Hi!

I created a measure and it doesn't work completely. Can you help me solve it?

I copy the measure below the image.

  • COLUMN "% Cob. Cuota 1" < 60% (does not apply INCENTIVO)

Thanks for your help.

Best regards, Guillermo.-

Sin.png

 
Incentivo =
VAR _ObjetivoVentas =
RELATED(Tabla_Agentes[Objetivo_Venta_1])
VAR _ObjetivoCobranza =
RELATED(Tabla_Agentes[Objetivo_%_Cobranza])
VAR _PorcCobCta1 =
DIVIDE('L 1613'[PorCobCuo1], _ObjetivoCobranza)
VAR _PorcVenta =
DIVIDE(Totales[Total Vendidas], _ObjetivoVentas)
RETURN
IF(
_PorcCobCta1 >= 1
&& _PorcVenta >= 1,
IF(
_PorcCobCta1 >= 1
&&_PorcVenta >= 1.2
,
RELATED(Tabla_DIM_Incentivos[Incentivo_2]),
RELATED(Tabla_DIM_Incentivos[Incentivo_1])
)
)
 
2 REPLIES 2
Anonymous
Not applicable

Hi @GuilleLus 

 

Could you please provide more raw data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

 

Best Regards

Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.