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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
abukapsoun
Post Patron
Post Patron

User Input for filtering

Hi,

 

I believe it is not possible but I am just trying my luck. I have a visual that is displaying results based on the visual level filters. Displaying values that are less than "5"

 

Is there a way, where I can create a visual where I can input the value I want to use in the filter instead of doing it on the visualization tab?

 

In other words, I want to give the option for users who are seeing the report to be able to filter based on custom value instead of a pre-defined one. 

 

thanks,

 

1 ACCEPTED SOLUTION
Eric_Zhang
Microsoft Employee
Microsoft Employee


@abukapsoun wrote:

Hi,

 

I believe it is not possible but I am just trying my luck. I have a visual that is displaying results based on the visual level filters. Displaying values that are less than "5"

 

Is there a way, where I can create a visual where I can input the value I want to use in the filter instead of doing it on the visualization tab?

 

In other words, I want to give the option for users who are seeing the report to be able to filter based on custom value instead of a pre-defined one. 

 

thanks,

 


@abukapsoun

Instead of applying visual level filter, you can create a what if parameter and control the data presentence with a tricky measure like

isShown =
IF (
    SUM ( Table1[Column2] ) <= Parameter[Parameter Value]
        || ISBLANK ( Parameter[Parameter Value] ),
    SUM ( Table1[Column2] ),
    BLANK ()
)

whatif.gif

 

View solution in original post

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@abukapsoun wrote:

Hi,

 

I believe it is not possible but I am just trying my luck. I have a visual that is displaying results based on the visual level filters. Displaying values that are less than "5"

 

Is there a way, where I can create a visual where I can input the value I want to use in the filter instead of doing it on the visualization tab?

 

In other words, I want to give the option for users who are seeing the report to be able to filter based on custom value instead of a pre-defined one. 

 

thanks,

 


@abukapsoun

Instead of applying visual level filter, you can create a what if parameter and control the data presentence with a tricky measure like

isShown =
IF (
    SUM ( Table1[Column2] ) <= Parameter[Parameter Value]
        || ISBLANK ( Parameter[Parameter Value] ),
    SUM ( Table1[Column2] ),
    BLANK ()
)

whatif.gif

 

WolfBiber
Microsoft Employee
Microsoft Employee

Hey,

I think you can't reach this goal with onboard visual.

But try i.e. "Text Filter" in Custom VisualsUnbenannt.png

Greetings,

Wolf

Over 4 years after the fact this was posted, it has saved me some headaches.  Thank you for this.

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors