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
BlueNoze
New Member

Hacer un total de varias columnas usando múltiples filtros

Hola a todos

He intentado buscar la respuesta a este, pero no puedo encontrar la respuesta más im muy nuevo a BI para apreciar su paciencia.

Así que necesito añadir una visualización de tarjetas (que sé hacer 🙂 pero necesita calcular la suma de las 3 columnas;

"HAccountTotal" (Cuando "Estado de Contratación" - "Sin pagar") + "RAccountTotal" (Cuando "RepairStatus" - "No pagado") + "RSTotal" (Cuando "RandSStatus" - "No pagado")

BlueNoze_0-1593510338306.png

Espero que esto tenga sentido. Gracias

3 REPLIES 3
amitchandak
Super User
Super User

@BlueNoze , Probar como

sumx(Table, switch(true(),Table[Hire Status] = "Unpaid",Table[HAccountTotal],
      Table[RepairStatus] = "Unpaid",Table[RAccountTotal],
      Table[RandSStatus]= "Unpaid" ,Table[RSTotal],blank()))
Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
DataZoe
Microsoft Employee
Microsoft Employee

Hola @BlueNoze ,

Por favor, intente esto como una medida:

YourMeasure ?

calculate(sum(TableName[HAccountTotal]),TableName[Hire Status] á "Unpaid")

+ calculate(sum(TableName[RAccountTotal]),TableName[RepairStatus] á "Unpaid")

+ calculate(sum(TableName[RSTotal]),TableName[RandSStatus]- "Unpaid")

Respectfully,
Zoe Douglas (DataZoe)



Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/

Funcionó perfectamente Gracias!

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors
Top Kudoed Authors