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
panj
New Member

Multiply 2 column, put result in the new one. And result is incorrect.

Multiply 2 column, put result in the new one , name 'Total, and the result is incorrect.

I have to choose 'Don't summarize' to show correct result, the second one is correct for each lines.

What if I have to show Total, anything I could do besides chooses 'Dont' summarize'?

 

Thank you in advance.

 

sum.JPGdont sum.JPG

 

 

 

1 ACCEPTED SOLUTION
MartynRamsden
Solution Sage
Solution Sage

Hi @panj 

 

Try this measure:

Total = 
SUMX(
    'PQ Archived',
    'PQ Archived'[QTY] * 'PQ Archived'[Unit Cost (LCY)]
)

 

Best regards,
Martyn


If I answered your question, please help others by accepting it as a solution.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

You can also create a new column in you table

total = 'PQ Archived'[QTY] * 'PQ Archived'[Unit Cost (LCY)]

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Connect on Linkedin

MartynRamsden
Solution Sage
Solution Sage

Hi @panj 

 

Try this measure:

Total = 
SUMX(
    'PQ Archived',
    'PQ Archived'[QTY] * 'PQ Archived'[Unit Cost (LCY)]
)

 

Best regards,
Martyn


If I answered your question, please help others by accepting it as a solution.

@MartynRamsden  it works now, thank you so much!

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.