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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Filter where user enter value

 Hello everyone,

 

I want create filter where the user enter a value. 

For exemple the user enter 7000 and only Machines where the 7000 > MIN and 7000 < MAX are return. (Check picture)

 

I don't know if this functionality is possible exists ...

 

Capture.PNG

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

You could create a measure to filter the table visual. The what-if parameter is to be used in this measure.

Filter Measure = IF([Trials Value]>SELECTEDVALUE(ChargesOnly[Min])&&[Trials Value]<SELECTEDVALUE(ChargesOnly[Max]),1,0)

 

Drag the Filter Measure into your table visual's visual-level filter pane and set its value is 1. Then you will find the table visual filtered.

052501.jpg

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

5 REPLIES 5
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Now you have below codes which involves two parameters and two tables. Do you create a relationship between two tables? If not, try creating a relationship based on a common column (maybe Machines or Equipements?) This relationship should be one-to-one so that it can find a specific pair of Min/Max values in FoursOnly table. Or the SELECTEDVALUE(FoursOnly[Min]) might return blank.

 

MachinesOK =
IF([Valeur Force essai] > SELECTEDVALUE(ChargesOnly[Min])
   && [Valeur Force essai] < SELECTEDVALUE(ChargesOnly[Max])
   &&[Valeur Temperature] > SELECTEDVALUE(FoursOnly[Min])
   && [Valeur Temperature] < SELECTEDVALUE(FoursOnly[Max]),
   1,0)

 

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Docs

 

Regards,

Jing

v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Does my reply solve your problem? If yes, kindly accept it as the solution. Otherwise, please provide more details about your problem so that we can work on it further. Thanks.

 

Regards,
Community Support Team _ Jing

v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

You could create a measure to filter the table visual. The what-if parameter is to be used in this measure.

Filter Measure = IF([Trials Value]>SELECTEDVALUE(ChargesOnly[Min])&&[Trials Value]<SELECTEDVALUE(ChargesOnly[Max]),1,0)

 

Drag the Filter Measure into your table visual's visual-level filter pane and set its value is 1. Then you will find the table visual filtered.

052501.jpg

 

Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

amitchandak
Super User
Super User

@Anonymous , See if what if the parameter can help

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here
Anonymous
Not applicable

Thank @amitchandak i think the parameter can help me. 

I create parameter name 'force essai'

 

But .. I have table 'ChargesOnly' with 2 columns [Min] and [Max].

 

I want compare the parameter 'force essai' with [Min] and [Max]

The condition IF() take only measure on argument ...

 

I have no idea for reply my problem.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.