The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Actually I'm trying to calculate the measure with foloowing formula but it is giving me error "The SUM function only accepts a column reference as an argument."
Fomula -
''' EXP(SUM(LN(1 + Query1[FundReturn]) * 1))'''
DAX Syntax -
Can anybody please help me in this!! Thanks
Solved! Go to Solution.
Try sumx
Expost_CumRet = CALCULATE( EXP(SUMx(Query1,LN(1 + Query1[FundReturn]) * 1)), FILTER(ALLSELECTED(Query1), Query1[Index.1]<=Max(Query1[Index.1]) )
Try sumx
Expost_CumRet = CALCULATE( EXP(SUMx(Query1,LN(1 + Query1[FundReturn]) * 1)), FILTER(ALLSELECTED(Query1), Query1[Index.1]<=Max(Query1[Index.1]) )