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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Chachi
Frequent Visitor

What if Parameter- entering data manually for each row in a table to estimate total cost

 

Hello,

 

I need some help with the following scenario if it is possible to do it in power bi:

 

I have a Labor data table in Power BI containing columns: labor categories and their associated rates. I have already built a table visualization that lists all labor categories and their rates, along with a slicer for filtering.

Now, my objective is to perform a what-if cost analysis. I want to select multiple labor categories and be able to manually enter projected hours for each selected category group. By doing so, I want to calculate the projected cost for each labor category based on their rate and estimate the total labor cost for all selected categories. Can anyone guide me on how to achieve this in Power BI? Your help is highly appreciated!


Below is a example of the my table

Chachi_1-1688406942079.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi  @Chachi ,

 

As far as I know, you might want to create a Parameter for each Labor Catogory, and have a manual value for each Labor Catogory implemented via the Switch() function

Here are the steps you can follow:

1. Create three Parameters – Modeling – New  Parameter – Numeric range.

vyangliumsft_0-1688525953703.png

2. Create measure.

Measure =
    SWITCH(
        TRUE(),
    MAX('Table'[Labor Catogory])="Type A",SELECTEDVALUE('ParameterA'[ParameterA]),
    MAX('Table'[Labor Catogory])="Type B",SELECTEDVALUE('ParameterB'[ParameterB]),
    MAX('Table'[Labor Catogory])="Type C",SELECTEDVALUE('ParameterC'[ParameterC]))

3. Result:

vyangliumsft_1-1688525953706.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Hi Liu,

Thank you for your response. I think one of the challenges with this is I have over 100 Labor categories, which means I would have to create a separate parameter for each? is there any other alternative?

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.