Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
franciscocohen
Frequent Visitor

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 4
djurecicK2
Super User
Super User

Hi @franciscocohen ,

 Take a look at the Filter By List visual. I have used it in similar situations. Users can type or cut and paste.

https://appsource.microsoft.com/en-cy/product/power-bi-visuals/devscope-1156626.filterbylist?tab=Ove...

 

pi_eye
Resolver IV
Resolver IV

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:

pi_eye_0-1672934122327.png

 

 

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

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... 😞

I think then, the best option might be an extension as @djurecicK2  has mentioned below or looking at the power Apps. 

 

I did a quick search to see if this is something that is tracked via the user activtiy or audit logs, but this post seems to suggest it's more complicated than just looking at existing logs:

 

https://community.powerbi.com/t5/Service/Track-user-activity-What-filter-options-they-are-selecting/...

 

I actually do think this is something that they should implement - looking at user activity would be extremely useful for us too in informing development.

 

Pi

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.