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
Enan
Helper I
Helper I

Sort the year bucket of work experience in Chronological order

Dear Expert,

Please help to sort the staff experience bucket (Years) in Chronological order for the graph.

I have made a new column in my fact table as "Sort_Year" by using DAX.

However when I used the "SORT by Column" option under column tools to sort the graph it gives circular dependency error.

Kindly assist

 

Circular Reference ErrorCircular Reference ErrorDAX used to create calculated column in Fact TableDAX used to create calculated column in Fact TableGraph made using FACT table, Experience buckets and Count of StaffGraph made using FACT table, Experience buckets and Count of Staff

1 REPLY 1
amitchandak
Super User
Super User

@Enan , to avoid that create a new column

 

Exp (group) 1 = [Exp (Group])

 

and sort this new column on sort column and use that

 

or move the above logic in power query

 

PowerBI Abstract Thesis Episode 6: How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=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.