Forum Discussion

Euro0681's avatar
Euro0681
Icon for Helper II rankHelper II
3 years ago
Solved

Correct Totals for Measure

I have created a measure that contains an "IF" Condition....

Amount = IF( [Quantity] <= 0 || [Price] <= 0 || [Fixed Price] = 0 , 0 , [Price] - [Fixed Price] )

row by row the number are correct, the issue is my total is incorrect.
I've tried using "SumX" to fix the total but i get the error "The Visual Has Exceeded Available Resources" 
Is there any work arounds here or any other suggestions.

FixAmount = SUMX('TABLE',[AMOUNT]) 
(Second Measure for Reference)

1 Reply