Forum Discussion

franciscocohen's avatar
franciscocohen
Frequent Visitor
3 years ago

User text input into a measure

Hi all,

I need to get into a measure what an user writes in a report - it could be a text filter, a slicer or any other.

I am able to create a measure that gets a filtered value Measure 1 = SELECTEDVALUE(Table[Column]) but I want my measure to get the text of what was written by the user on the text field.

Is there any solution?

 

Thanks,

FC.

4 Replies

  • Hi franciscocohen 

     

    If your input parameter is a number, you can try using the option in the modelling ribbon to create a numeric parameter. This creates a field  based on the input that you can add into your report.  See the guidance for "what if analysis" for more information:

     

     

    However, this is not directly possible for text input (eg words, a name). There are several work arounds in the community for this, but your best option is to maybe look at Power Apps and incorporate that.

     

    Regards,

     

    Pi

    • franciscocohen's avatar
      franciscocohen
      Frequent Visitor

      Thank you for your reply.

      I really need text input.
      My final goal is:
      I have a report with a text filter.
      User can search for something on this textbox and my table visualization gets filtered.

      What I want to achieve is that I want to save somewhere everything that my users are searching on my report.

      Haven't found any solution so far... 😞