Questions tagged [subtotal]

The total of part of a series of numbers

398 questions
0
votes
1 answer

Magento, my cart, subtotal

My cart shows wrong subtotal and I think this is als oaffecting calculation of tax (20%)in the Shoppin Cart and in the Checkout (prices here are correct but Subtotal, and total, have no 20% Vat tax) Any idea what could be the problem? new user.. i…
0
votes
2 answers

Doubled Subtotal and grand total in checkout magento 1.5

After adding products in shopping cart, move to checkout page. when return back to Shopping Cart page again either clicking back link or top menu Cart item link, Subtotal and Grand Total price becomes doubled. When adding new product to cart again…
Rajiv Ranjan
  • 1,869
  • 1
  • 11
  • 20
-1
votes
0 answers

limiting up to data in Macro

I have recorded a Macro file to do the subtotal on 3 levels. I have multiple sheets and workbooks all having different row counts. when I run Macro, it is just considering the row count what it recorded and does not pulling all the data from current…
-1
votes
1 answer

DAX Formula Issue - Detail level correct, but subtotals and totals not

I'm very new to DAX and strugglingly to understand how to correctly get subtotals for my formula. My formula correctly calculates at the detail level, but I want it to sum the detail rows for the subtotals and totals rather than calculate the…
GayleM
  • 1
-1
votes
2 answers

I am trying to get a JavaScript Program to Print a letter grade and Percentage based on a average using a switch statement but the answer comes up NaN

In my program I am using a do-while loop to prompt for grades until a -1 is entered and then increments the amount of grades inputted. A while loop then checks if the grade isNaN or less then 0 or greater then 100. The program will ask for another…
-1
votes
1 answer

SQL calculate and sum data based on data by month

I have a huge table with multiple months of product order history. I want to flatten the table to have columns as date fields with the total amount ordered. See table below: Ideal output would be: I've tried case statements Case when ReportMonth…
LT_Orange
  • 53
  • 1
  • 1
  • 6
-1
votes
1 answer

Tell me why use "max,min,sum=arr[0];" this code

I want to print the maximum, minimum, and total sum of input integers but i don't understand why use this code(max,min,sum=arr[0];) #include int main(void) { int arr[5]; int max, min, sum, i; for (i = 0; i < 5; i++) { …
김영훈
  • 3
  • 2
-1
votes
1 answer

Local Storage Update Cart Total

I am looking to store just the cart subtotal in my local storage. I am using GTM to call the add to cart event and get the price that has been added to the cart. From there I want to just update that price or create a cart value that updates each…
eharriBR
  • 1
  • 2
-1
votes
1 answer

Error: Sub or funtion not defined - Simple subtotal macro

I have this simple code: Range("A1:C201").Select Selection.Subtotal GroupBy:=1, Function:=xlSum, TotalList:=Array(2), _ Replace:=True, PageBreaks:=False, SummaryBelowData:=True When I try to run the macro it shows the error "Sub or funtion not…
-1
votes
1 answer

Display sum of greatest integer in angular directive

I am trying to create a directive to find sum of largest integer in the response data. directive:- .filter('sumByKey', function() { return function(data, key) { if (typeof(data) === 'undefined' || typeof(key) === 'undefined') { …
WhoAmI
  • 217
  • 1
  • 2
  • 23
-1
votes
1 answer

% of Total by group

I have three columns in MyTable and I need to calculate % of total by each group. Code: SELECT AppVintage, Strategy, Apps FROM mytable GROUP BY AppVintage,Strategy,Apps Each date appears 4 times, with a different class for each line and then a total…
Adam Meyer
  • 11
  • 4
-1
votes
2 answers

How to group subtotals on the same row by date, by code

I couldn't find an equivalent question on here for this question. Apologies if this is a repeat Basically I have a table with transactions. Each transaction has a code and a datetime stamp. I want to be able to create a SQL query so that the…
jj3pa
  • 37
  • 6
-1
votes
1 answer

Excel: apply non predetermined formulas to an automatically selected range

Basically I want to apply any formula using as input the cells from a range that follow a certain criteria. So this might be the same as SUMIF, COUNTIF , or subtotals, only with any other formula. Example: column 1 is project#, column 2 is cash…
-1
votes
1 answer

Why do tax and subtotal equal 0 in Magento when a customer with a coupon code adds a bundle to their cart?

If a customer is logged in and chooses a bundle product and puts it into their shopping cart, everything is okay. All Taxes and Subtotals are included if I look into the invoice. A special customer has a 5% discount of every product (via a shopping…
Anjenehm
  • 29
  • 5
-1
votes
2 answers

C++ won't add values passed in

When I pass in a value and assign it to another variable, it never seems to add them together. It only outputs both totals in the file, but not together. Can anyone point out my mistake? void financialReport(int price) { ofstream…
Josh
  • 49
  • 1
  • 1
  • 2