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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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()))
DataZoe
Employee
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,
DataZoe


See my reports and blog at https://www.datazoepowerbi.com/

Funcionó perfectamente Gracias!

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors