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
aniket_kumbhar
Frequent Visitor

Sorting by measure involving parameter

I want to sort one column based on measure. The problem is that the measure involves parameters in its calculation. Hence while creating calculated column it gives circular dependency error. Because of this sort by another column functionality cannot be used.

 

Any ideas how to solve this ?

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @aniket_kumbhar ,

 

You want sort visual or sort table? If you want to sort visual, then what visual you are using?

Please check the topic about How-to-Get-Your-Question-Answered-Quickly and share more information.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@aniket_kumbhar , You can not sort a column on a measure.

Also, you will not be able to use a dynamic measure or slicer value in a calculated column.

 

can you please provide the need

 

@amitchandak I am working on a project of tableau to power bi migration. Tableau has default feature of sorting by measure. Is there any way this can be replicated in power bi ?

@aniket_kumbhar , You can sort a visual on measure and columns. Using 3 dots. There is sort column and order option

 

But if you want to mark measure a sort column for a measure that is not possible.

Are you looking for information on the sort column?

How to Create Sort Column and Solve Related Errors: https://youtu.be/KK1zu4MBb-c

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.