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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
KleptoKenny
Frequent Visitor

Calculate total profit from table with multiple rows of same value

From the table below i have a profit figure on multiple lines. I only want it to output the £1,785.5 value in a calculation based on the fact the VM_SK_SORDER column has the same value.

 

 

VM_SK_VEHICLEVM_SO_CONFIRMDATEVM_SO_BRANCHVM_EN_SALESEXECVM_PR_DESCVM_PR_DLRDESCVM_SK_DESCVM_VE_MANUFACTVM_SO_REGNOVM_SK_VINVM_SK_VTYPEVM_SK_STATUSVM_SK_TOTALPROFITVM_SK_SORDER
1573118/01/20220002alacAdoptedAdoptedDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1573118/01/20220002alacConsignedConsignedDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1573118/01/20220002alacFully costedFully costedDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1573118/01/20220002alacInvoicedInvoicedDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1573118/01/20220002alacMemorandumMemorandumDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1573118/01/20220002alacOn orderOn orderDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1573118/01/20220002alacClosedClosedDaily 35C14D Crew Cab TD 3750IVECOST71LLUZCFCH35A805439337NEWX1785.57995
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Summarize by the order number and add a column that calculates the max of the profit.  You can even do that in the UI

 

lbendlin_0-1701568537037.png

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Summarize by the order number and add a column that calculates the max of the profit.  You can even do that in the UI

 

lbendlin_0-1701568537037.png

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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