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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.