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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

Error while sorting

Hi All,

  Need help for below error

I am trying to sort the column but it is giving below error.

 

Capture.PNG

any suggestions would be appreciated.

 

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

It's obvious that the second column has more than one distinct value.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

 


@v-chuncz-msft wrote:

 

 

It's obvious that the second column has more than one distinct value.



Yes,I do understand that there are multiple values in one column .Because We have applied If,else condition to display the Month-year which comes under range which displays  "NA",Date," month" values

 

I am looking for workaround or solution for this problem.

actually what I want to do is sort the data by month-year like Mar-2019 to mar-2018 and display data only for last one year.

 

Anonymous
Not applicable

Hi DAX_Learner07,

 

Your sorting column should be in integer/whole number. If it is text or in Date format, then it throws an error.

 

Regards,

Pradeep

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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