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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Employee
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
Employee
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
Employee
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors