Forum Discussion
Problem with formula
Hi AlexGallet01,
You can try to use below calculate column formula if it suitbale for your requirement:
DIFF= IF(TEST[References.ValeursUtilise]<>"H-OF",CALCULATE(SUM(Commandes[LCCNVALCDE]),TEST[THKTNODOS])-CALCULATE(SUM(Commandes[LCCNVALCDE]),TEST[THKTNODOS]+1),blank())
BTW, I think you should use the index column to calculate the diff. Actually, you are try to calculate between number and text. :smileyhappy:
Regards,
Xiaoxin Sheng
No mi calcul it's between the sum of price command where my thknodos have the first value and th sum of price command where the value of thknodos have the second value. And next i want to do this between all thknodos.
- Anonymous9 years agoNot applicable
Hi AlexGallet01,
>>No mi calcul it's between the sum of price command where my thknodos have the first value and th sum of price command where the value of thknodos have the second value.
For this requirement, you should create a measure to compare between current and previous. If this is a case, you need to find out a index column to help calculate through all your records.
Regards,
Xiaoxin Sheng