cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Frequent Visitor

Sum without using a function

Hi,

I have a problem, I used a function that multiplies the number of pieces with the value and when sum it, the value is added incorrectly, it should be 5748, while it shows 11 496 because it still uses the above-mentioned funkction, it is possible to narrow the formula only to the lowest row and then only sum? I can do it in power query, but I would like to know if it is also possible in different way.

1 ACCEPTED SOLUTION
Solution Sage

hi @Wilk89

Something like this, you need to make your measure Additive in this case. If the two tables are linked in Data model and you are using SUMX, then you can use RELATED function to get value from table on one side of relation ship.

3 REPLIES 3
Solution Sage

hi @Wilk89

Something like this, you need to make your measure Additive in this case. If the two tables are linked in Data model and you are using SUMX, then you can use RELATED function to get value from table on one side of relation ship.

Frequent Visitor

I have two different tables and unfortunately it doesn't work unless I have to nest it differently?

Value = SUMX('Table1','Table1'[Column1])*SUMX('Table2','Table2'[Column1])
Super User

Hi,

Use functions like SUMX. Example:
Data:

Incorrect:

Measure 15 = SUM('Table (23)'[Column1])*SUM('Table (23)'[Column2])

Correct:

Measure 16 = SUMX('Table (23)','Table (23)'[Column1]*'Table (23)'[Column2])

End result:

I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!

Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Announcements

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Monthly Update - June 2024

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

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors
Top Kudoed Authors