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 September 15. Request your voucher.
Hi All,
What is wrong wih this DAX , thanks in advance:
Reforecast CAGR = (DIVIDE([CurrentYearBudget],[MinYearActual],0)^DIVIDE(1,([CountYearsByActual] +1),0) -1)
Error Message:
MdxScript(Model) (22, 39) Calculation error in measure 'BudgetView'[Reforecast CAGR]: An argument of function 'POWER' has the wrong data type or the result is too large or too small.
@faheem_Latif_BI , Try like
Power (DIVIDE([CurrentYearBudget],[MinYearActual],0), DIVIDE(1,([CountYearsByActual] +1),0)) -1
Check the datatype of CountYearsByActual and CurrentYearBudget, MinYearActual. all should be number
User | Count |
---|---|
15 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |