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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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()))
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors