cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
spoaharty
Frequent Visitor

Ayudar a calcular con 2 condiciones

Quiero calcular con 2 condiciones:

Ejemplo: calcular si la persona asistió a sí, y la persona proporcionó comentarios - Sí

calculate(totalattendees), attendees[attended] - 'Yes' & attendees[feedback] - 'Yes'

no está seguro de cómo configurar este cálculo, nuevo en estos cálculos 🙂 gracias por la ayuda de antemano!

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

calculate([totalattendees], FILTER('attendees', attendees[attended] - "Yes" && attendees[feedback] - "Yes"))

Si [totalattendees] es una medida, de lo contrario, tal vez.

COUNTROWS(FILTER('attendees', attendees[attended] - "Yes" && attendees[feedback] - "Yes"))

@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

View solution in original post

1 REPLY 1
Greg_Deckler
Super User
Super User

calculate([totalattendees], FILTER('attendees', attendees[attended] - "Yes" && attendees[feedback] - "Yes"))

Si [totalattendees] es una medida, de lo contrario, tal vez.

COUNTROWS(FILTER('attendees', attendees[attended] - "Yes" && attendees[feedback] - "Yes"))

@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.