The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
Can you please help me with the following table? I need to calculate present value =Value/(1 + growth rate)^Period. Growth rate is a parameter to allow scenario analysis.
Solved! Go to Solution.
Hi , @Anonymous
According to your description ,you can follow these steps :
1.New a parameter what-if as below:
Please refer to this article for more details :
Create and use a What if parameter to visualize variables in Power BI Desktop
2.create measures as below:
Prevent value =
var rate = 1+Parameter[Parameter Value]
var Present_rate = rate^MAX('Table'[Period])
return sum('Table'[Value])/Present_rate
Here is a sample I made:
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi , @Anonymous
According to your description ,you can follow these steps :
1.New a parameter what-if as below:
Please refer to this article for more details :
Create and use a What if parameter to visualize variables in Power BI Desktop
2.create measures as below:
Prevent value =
var rate = 1+Parameter[Parameter Value]
var Present_rate = rate^MAX('Table'[Period])
return sum('Table'[Value])/Present_rate
Here is a sample I made:
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.