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
IanR
Helper III
Helper III

Sort and filter by measure not displayed on table/chart

Hi,

 

I have created a measure based on RANKX which I want to use to sort and filter the entries in a table and a chart. So far this works when I have my ranking measure included in the visuals but is there a way to acheive this without displaying the ranking measure?

 

Thanks

 

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

Place the Rank Measure in the Visual Level Filter of the Visual and filter there!

 

Alternatively you can use the built in TOPN functionality also in the Visual Level Filter.

View solution in original post

5 REPLIES 5
Sean
Community Champion
Community Champion

Place the Rank Measure in the Visual Level Filter of the Visual and filter there!

 

Alternatively you can use the built in TOPN functionality also in the Visual Level Filter.

Aha - lightbulb moment. I didn't realise that you could put things in there that weren't used in the visual. Very useful.

That solves the filter problem. However, is there a similar way of sorting by a measure that is not displayed?

Sean
Community Champion
Community Champion

If you are not displaying the Ranks are you displaying anything else in that Visual such as the Measure used to Rank

 

You should be able to sort that Measure.

In this case I am - it's a CRM report showing contacts by country so I am showing the number of contacts ion each country and have sorted by that. I was thinking more generally - just in case this ever came up again. It's not a big deal. The tip about filtering by measures that are not displayed was the big one.

nithin9
Frequent Visitor

Hi All,

 

I actually have this requirement of sort by measure not displayed in the chart/table. For example, In the graph i want to display a calculated measure (premium) by states but sort the chart by YOY growth which is a calculated field. YOY growth should not be displayed in the chart.  Is there any way to to this? 

 

Thanks in advance. 

 

Nithin

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.