Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kristel_tulio
Helper III
Helper III

Change the input variables based on different project in a table

Hi,

 

I would like to ask if it is possible to change the values in each column of a table depending on the input values selected. 

I have here Profit and Loss for each project. I want to put the expected profit and Percentage complete using the What if parameter but I don't want it to be static. Each project have different completion rate and profit. I have sample as well in excel of what i mean.

kristel_tulio_4-1721632289188.png

 

kristel_tulio_5-1721632316951.png

 

 

 

 

4 REPLIES 4
bhanu_gautam
Super User
Super User

@kristel_tulio , You can create a measure using the value of the what if parameter

 

First create a whatif paramater

Go to the Modeling tab in Power BI Desktop.
Click on "New Parameter".
Name your parameter (e.g., "Completion Rate").
Set the Data Type to Decimal Number.
Set the Minimum, Maximum, and Increment values according to your needs (e.g., Min: 0, Max: 1, Increment: 0.01 for percentage).
Click OK. This will create a new table with the parameter values and a slicer for the parameter.

 

Then create a measure for 

Expected Profit =
SUMX(
Projects,
Projects[Profit] * 'Completion Rate'[Completion Rate Value]
)

 

And

 

Percentage Complete =
SUMX(
Projects,
Projects[Completion] * 'Completion Rate'[Completion Rate Value]
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi @bhanu_gautam 

Thank you for responding. I already created the what if parameter but what I want to achieve is each project will have different expected profit and percentage based on selection. I want to copy the data on my excel in power bi.

Try using measure which I have mentioned they are created using dynamic value which will be selected on the what if paramter "Completion Rate'[Completion Rate Value]"




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Hi @bhanu_gautam,

 

Thanks for the suggestion. I already have the parameters but what I want to show is the percentage and expected profit can be change differently to each project like the one I have in excel if that's possible.

kristel_tulio_0-1721691317691.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.