Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Manual data input by the user

Hi all,   In order to do some calculations, I need to let the user provide the value of a variable (a whole number in this case). Is there any way in PowerBI to create some kind of box where the us...
  • Anonymous's avatar
    Anonymous
    6 years ago

    HI Anonymous 

    1. Create a new "What If" parameter under the Modeling Tab:

     

    Clicking this button will bring up a new window with several input options.

    2. Enter the range of numbers and the number of steps in between:

    • Name: This is the name of your parameter (input variable).

    • Data Type: This defines the type of variable. Whole number, Decimal number or Fixed decimal number.

    • Minimum & Maximum: These are the starting and ending numbers for your variable (think of it like a range of valid inputs).

    • Increment: This represents the increment between your minimum and maximum values. This will affect how many values can be selected as an input.

    After you have your range of numbers (values entered for Minimum, Maximum) and the increment, click OK and Power BI will insert a new table for you in your DAX model. This is your table of valid input options for your users.

  • mhossain's avatar
    6 years ago

    Anonymous 

     

    What about powerapps form like a box, and this value will go to sharepoint or azure data base and then will be updated back to powerbi and will be used in DAX.

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi Anonymous 

    In your intial ask I believe live connection is not mentioned.

    You are right, with live connection/streaming dataset you can't create a parameter or table as there is no M query involved.