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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Varias instrucciones IF anidadas

Hola

Estoy intentando escribir una fórmula dax para una columna calculada que contiene varias instrucciones IF, pero me quedo atascado con errores de sintaxis. Así es como se ve la fórmula en Excel, pero no es tan sencilla en DAX para mí, con las múltiples declaraciones anidadas. Esta es la fórmula de Excel que estoy tratando de escribir en dax:

Estado = IF(columna Total > 0, IFS(Y(columna A > 0, columna B > 0, columna C > 1, columna D > 1),IF(columna Tipo de cliente ="OK","Primario","Secundario"), Y(columna A > 0, columna C > 1, columna D > 0), IF(Tipo de cliente = "Próximo", "Terciario", "Avanzado"),TRUE,IF(Tipo de cliente = "Otro", "Básico", "Siguiente")),"Sin acceso")


Mis datos son bastante simples y se ven así:

ABCDTotalTipo de clienteEstado:
10258

¡Cualquier ayuda sería muy apreciada!

Bien.

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.