Forum Discussion
FrankS72
6 years agoRegular Visitor
Calculated Column
I'm struggling to performa required calc, which I want to do in a new column. Example Data: Table: Monthly_Sales Consultant Month Sales Best Month % Best A...
- 6 years ago
Try This:
Best NEW = VAR BEST = CALCULATE( MAX(SALES[Sales]),ALLEXCEPT(SALES,SALES[Consultant])) RETURN BEST% vs BEST = DIVIDE( SALES[Sales], SALES[Best NEW] )________________________
Did I answer your question? Mark this post as a solution, this will help others!.
I accept KUDOS 🙂
Fowmy
Super User
6 years ago
Try This:
Best NEW =
VAR BEST = CALCULATE( MAX(SALES[Sales]),ALLEXCEPT(SALES,SALES[Consultant]))
RETURN
BEST
% vs BEST =
DIVIDE(
SALES[Sales],
SALES[Best NEW]
)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
I accept KUDOS 🙂
FrankS72
6 years agoRegular Visitor
Thank you - this worked well.