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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
lguicarvalho
New Member

SUMX in matrix using column and measure

Hi, everyone!

I'm trying to multiply the column "Peso" and the measure "Nota", shown in the matrix, in a new measure, called "Nota_pond". As show bellow, we can see that, individually, they work fine in the Matrix. If I multiply then directly, using SelectedValue in "Peso", they work fine too.

lguicarvalho_1-1677162453889.png

 



Then, I need to get the SUM of all these instances. The problem is that when I use a SUMX function to multiply "Peso" and "Nota", it doesn't return the correct value.

lguicarvalho_0-1677162420921.png

Additionally, trying to debug, I noticed that using SUMX individually with "Peso", it returns the same value of the Column, but the same does not apply to the measure "Nota".

Could anyone help with that?

 

1 REPLY 1
amitchandak
Super User
Super User

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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