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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
smilika
Frequent Visitor

Sort the slicer values based on calculated column or measure

It doesn't give an option in the sorting. The slicer has to be sorted by calculated column.  Is there any ways? 

smilika_0-1703081271521.png

 

The connection I am using is Live Connection. Is there any way to sort the slicer values based on the measure. Can you give any suggestions please.

1 REPLY 1
Anonymous
Not applicable

Hi @smilika ,

 

Based on the information you provided, I understand that you are unable to sort slicer values based on calculated column in Live Connection.

 

Notice that Power BI does not support direct sorting by metrics in slices. Slices can only be sorted by column.

I recommend you read this link here:

Solved: Sort Columns using Live Connection - Microsoft Fabric Community

 

If sorting by calculated columns is not possible due to real-time connectivity limitations, you need to consider sorting the data in the source system or using a different connectivity method (e.g. import mode) for more flexible modeling.

 

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards,

Yifan Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors