Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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 |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |