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
_chris_
Helper II
Helper II

Filtering in visual element?

Hi, i have a table with columns delta and amount. I want to show only the Top 5 rows ordered by amount desc but only where delta>20. Is there a way to directly achieve this in the visual element (table) or do i need to modify already the data source. This i am trying to avoid as this data source is already bound to other visual elements. Thx for you help Chris

1 ACCEPTED SOLUTION

Hi @_chris_,

 

Did not understand that part of the question, go to the Delta column and filter all that are above 20 even if delta is not part of your visual table you can filter the table taking that into account.

 

In the example below I only have 4 deltas above 20 so the list is not giving me the top 5 but 4.

 

topnvisual.gif

 

This is making a simple use of the tool, you can also create some measure to make this to work, but believe that this simple soluition is better for begining to understand the filters options you have.

 

Regards,

MFelix

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
LivioLanzo
Solution Sage
Solution Sage

try to set these filters in the visual level filter

 

where TotalAmount is a measure: =SUM( Data[Amount] )

 

Capture.PNG

 


 


Did I answer your question correctly? Mark my answer as a solution!


Proud to be a Datanaut!  

MFelix
Super User
Super User

Hi @_chris_,

 

If you select the table and go to the visual filters if you select one of the columns in your table and the delta column as TOP and then filter it by the top n that you need.

 

See below my value column can be your delta column.

topnvisual.gif

 

Regards,

MFelix

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi Felix, thank you very much that you took the effort to create a video! I really appreciate this. However, I understand that i can filter for TOP5 by value. But where comes the rule "do this only for the ones where Delta>20" into play?

 

BR Chris

Hi @_chris_,

 

Did not understand that part of the question, go to the Delta column and filter all that are above 20 even if delta is not part of your visual table you can filter the table taking that into account.

 

In the example below I only have 4 deltas above 20 so the list is not giving me the top 5 but 4.

 

topnvisual.gif

 

This is making a simple use of the tool, you can also create some measure to make this to work, but believe that this simple soluition is better for begining to understand the filters options you have.

 

Regards,

MFelix

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.