Forum Discussion

BarSi1986's avatar
BarSi1986
Helper I
4 years ago
Solved

Edit what if param

Dear Comunity,

 

I created What If parameter, but after 2 weeks of production usage there is a need to change its incrementation,

 

now it increments by 100 but need to change step to 1 ....but...

 

I can't see edit parameter option anywhere to be honest, can't find it 

 

 

 

  • BarSi1986 , That is because what if parameter sampling.

    Better you create your own table using series using generateseries(1,5000,1) and use that

     

6 Replies

    • BarSi1986's avatar
      BarSi1986
      Helper I

      ok, it works.....almost 🙂 

       

      now if i type, for example 1592 --> it automatically changes to 1590 (incrementation is now by 1...)

       

      so the DAX looks like that: 

      param value  = GENERATESERIES(0, 5000, 1)

      • amitchandak's avatar
        amitchandak
        Super User

        BarSi1986 , That is because what if parameter sampling.

        Better you create your own table using series using generateseries(1,5000,1) and use that

         

  • VijayP's avatar
    VijayP
    Community Champion

    BarSi1986 
    you can do that , Just go to column generated from the Whatif window and you will see the GenerateSeries Function

    in that change the increment (final parameter) to what ever value you want!

    • BarSi1986's avatar
      BarSi1986
      Helper I

      ok, it works.....almost 🙂 

       

      now if i type, for example 1592 --> it automatically changes to 1590 (incrementation is now by 1...)

       

      so the DAX looks like that: 

      param value  = GENERATESERIES(0, 5000, 1)

  • bcdobbs's avatar
    bcdobbs
    Community Champion

    I'm not sure if you can get back to the GUI but if you click on the parameter table it creates:

    You can then edit the table definition in the expression bar:

    Syntax is GENERATESERIES(Start, End, Increment)