- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

NPV with dynamic value selection
Hi,
I'm trying to develop an investment review model where users can easily select initial investment values, tax rates, and other parameters to dynamically calculate the NPV. I've created a basic table for cash flows, and the calculations work fine. However, the challenge is that the values—such as investment amounts and tax rates—must be entered manually. Ideally, I'd prefer to use parameters, but they're not working with the table format.
Hopefully someone can assist with a simple solution.
Below is my table that calculates NPV: The Net Income value is calculated in the table
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

but I need to go into Powerquery each time I need to change a value.
No, you can do that directly in Power BI, via "Edit Parameters"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Thanks for your repsonse:
1) Re: Power BI does not support manual entry by default (some third party visuals do). - Prefer to stick to standard PowerBI
2) Re:Change the Power Query Parameter to "Enable Load" and it changes from an expression to a partition and will be accessible in Power BI. - Yep, did that, but I need to go into Powerquery each time I need to change a value. Probably not feasible for a group of users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

but I need to go into Powerquery each time I need to change a value.
No, you can do that directly in Power BI, via "Edit Parameters"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Gotcha! Ok, I'll play around with this concept. Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

the challenge is that the values—such as investment amounts and tax rates—must be entered manually.
Power BI does not support manual entry by default (some third party visuals do). The standard functionality is limited to "What-if?" parameters with a range of max 1000 discrete values
I'd prefer to use parameters, but they're not working with the table format.
They will if you let them. Change the Power Query Parameter to "Enable Load" and it changes from an expression to a partition and will be accessible in Power BI. You can also modify Power Query parameter values from the Power BI menu, but then you will need to manually initiate a refresh for the change to take hold. Not something your report users can do.

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
10-08-2024 08:57 AM | |||
10-25-2024 03:16 AM | |||
05-18-2024 10:08 AM | |||
09-12-2024 07:05 AM | |||
08-12-2024 12:49 PM |