Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix(normalization): fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
quanho committed Jan 8, 2020
1 parent 8de4336 commit 7d499f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/expression-modifiers/normalization/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getDivide(measureExp, expression) {
return `${measureExp}/${expression}`;
}

function getSumDisregardSelec(expression) {
function getSumDisregardSelect(expression) {
return `Sum({1} ${expression})`;
}

Expand Down Expand Up @@ -87,10 +87,10 @@ export default {
generatedExpression = getSum(getTotal(getAggrOneDim(generatedExpression, dim)));
break;
case 1:
generatedExpression = getSumDisregardSelec(getAggrDisregardSelect(generatedExpression, dim));
generatedExpression = getSumDisregardSelect(getAggrDisregardSelect(generatedExpression, dim));
break;
case 2:
generatedExpression = getSumDisregardSelec(getTotal(getAggrDisregardSelect(generatedExpression, dim)));
generatedExpression = getSumDisregardSelect(getTotal(getAggrDisregardSelect(generatedExpression, dim)));
break;
default:
generatedExpression = expWithExcludedComp;
Expand Down

0 comments on commit 7d499f2

Please sign in to comment.