Reply
Frequent Visitor
Posts: 4
Registered: ‎11-28-2018

Custom visual numeric input box?

Is there a way to have a numeric box that users can enter a value into that will be added to other values?

 

We will be displaying data grouped by month, and we would like to have a field that they can enter a numeric value into that will adjust the monthly value. 

 

I searched the forums and couldn't see anything like this?

 

Frequent Visitor
Posts: 7
Registered: ‎12-05-2018

Re: Custom visual numeric input box?

Under the Modeling ribbon, there is a feature called a "What If Parameter". This will allow your users to input a number of custom values into the report, including whole numbers, decimal numbers, date/time, and TRUE/FALSE. It also creates a variable that you can utilize in other areas across Power BI. This variable allows you to utilize the user input value in measures, as fields/filters for visuals, etc.

 

Click on "New Parameter" and a dialogue box will open up that allows you to customize your parameter. Additionally, once you've added the parameter to your report, you can click on the "Parameter" field and it will display some additional formatting/property options in the Modling ribbon. 

 

Let me know if this works for your report and if you need any additional help!

Highlighted
Moderator
Posts: 1,572
Registered: ‎12-02-2016

Re: Custom visual numeric input box?

Yes, there is. There are two options:

  1. Use HTML input element
  2. Use Format Panel

 

Let me know if you have any furhter questions.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com