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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.