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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
charly_bron
Frequent Visitor

Sum products of calculated measures

Hello friends. I have two calculated measures (price and quantity).

 

I need the TOTAL for each category, so I just do Measure1*measure2, no problem.

 

The problem is in the TOTAL, which I need to be the sum of that column. Being calculated measures, I can't use sumx. Could you help me?! Thanks!!

 

Captura.JPG

 

Captura2.JPG

 

 

Captura1.JPG

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Syndicate_Admin , La multiplicación debe hacerse a nivel de fila o en algún grupo por

ejemplo

sumx(Hecho,[Medida1]*[Medida2] )

o

sumx(Dim,[Medida1]*[Medida2] )

o

sumx(Resumir(Hecho, Dim[COl1], Dim2[Col2]) ,[Medida1]*[Medida2] )

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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