Forum Discussion

luchovarga's avatar
luchovarga
Frequent Visitor
3 years ago
Solved

Parameters

Hello

 

I have a table with several time series, let's say one per country, and the user wants to select 5 and apply different factors (values between 0 to 10) and plot in a line graph. How can i do that with "what-if-parameters" ?

For example, select Brazil with a 0.5 factor, Canada with 0.8, Argenitina with 1.2 ... and plot them in a line graph

 

thanks!

 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi,

     

    You need to create different parameters for all of them and you need to filter the relevant parameter with that country and process it. I give the calculation example below.

     

     

    You will see that the value you entered into the parameter is automatically rounded when you enter the values in fractions. To solve this, you can check the link I shared.

     

    https://medium.com/@ezginazaslankara/the-solution-of-unable-to-input-number-parameter-in-power-bi-9876d8358587

     

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

     

    Best regards 🙂

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi,

     

    You need to create different parameters for all of them and you need to filter the relevant parameter with that country and process it. I give the calculation example below.

     

     

    You will see that the value you entered into the parameter is automatically rounded when you enter the values in fractions. To solve this, you can check the link I shared.

     

    https://medium.com/@ezginazaslankara/the-solution-of-unable-to-input-number-parameter-in-power-bi-9876d8358587

     

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

     

    Best regards 🙂