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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Syndicate_Admin
Administrator
Administrator

Recuento distinto basado en varias condiciones OR

Para esta nueva medida, necesito un recuento distinto de la columna A si la columna B tiene "true" o "neutral" y la columna C tiene "yes" o "maybe"

Columna AColumna BColumna C
Llverdadero
Llfalsono
Ppneutralno
Bb

verdadero

quizás
Bbverdaderono

El resultado debe ser 2. ¿Puedes ayudarme con la fórmula dax?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

hola

Esta medida funciona

Medida = CALCULATE(DISTINCTCOUNT(Data[Columna A]),(Data[Columna B]="true"|| Data[Column B]="neutral"),Data[Column C]="yes"|| Data[Column C]="quizás")

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

hola

Esta medida funciona

Medida = CALCULATE(DISTINCTCOUNT(Data[Columna A]),(Data[Columna B]="true"|| Data[Column B]="neutral"),Data[Column C]="yes"|| Data[Column C]="quizás")

Gracias, esto funcionó!!

De nada.

Syndicate_Admin
Administrator
Administrator

No @richleeb2

Pruébalo

Vera_33_0-1623720829733.png

Count = CALCULATE(COUNTROWS(VALUES(yourTable[Column A])),FILTER(yourTable,yourTable[Column B] IN {"true","neutral"} && yourTable[Column C] IN {"yes", "maybe"}))

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors