Total Cost

Shpilmaa
Tera Contributor

Hi guys,

 

i have a table with cost and qty that changed every time, for example:

 

Shpilmaa_0-1703529283455.png

 

Cost 179 and qty 2 or 3 (it can be any number)

 

i want to make a report with bar chart for total cost, how can i make it?

 

thanks for advance!

4 REPLIES 4

Sainath N
Mega Sage
Mega Sage

@Shpilmaa : Please try the below combination of conditions to achieve your requirements. As I am not sure on the table that you are reporting, I tried with the alm_asset table, which has similar fields like cost and quantity. Below is the report that gives the total cost of the assets grouped by model categories.

 

sainathnekkanti_0-1703535240359.png

sainathnekkanti_1-1703535325812.png

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

 

 

 

 

Exactly what i did

 

Shpilmaa_0-1703535964183.png

the table i use is (sm_asset_usage)

 

and in bar chart i got sum 81$ instead of 129$

 

Shpilmaa_1-1703536111152.png

 

 

 

@Shpilmaa : Could you make sure that you are using the right fields for aggregation? I see that you are grouping on different fields and aggregating on different fields (do the Service Order Task.Asset.Model and Model fields hold the same value?). Using these conditions in my PDI, I get the exact count in both the list and the report.

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Pradnyesh
Kilo Sage

Hello @Shpilmaa 

 

Do the configurations as per below attached photo.

Pradnyesh_0-1703568763339.png

Please mark this as helpful 👍 if it resolved.