Forum Discussion
Sorting data using another field
- 5 years ago
Hey Anonymous ,
yes, as the error says: There can't be more than one value in the "DateLogged" for the same value in "Concatenate1".
Fix that and it will work.
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic - Anonymous5 years ago
Found the issue and have now resolved it. Thanks for your help on this.
Hey Anonymous ,
when you use a sort by column each sort by field has to be unique for each value.
For example when you would sort month name by month number, how should Power BI sort if there is a row that says January is month number 1 and another row says January is month number 3.
So you have to make sure the sort by column always returns the same value, for example for January it must return always 1. Check that in your data model and it should work.
- Anonymous5 years agoNot applicable
Thanks selimovd for the response.
Understand (I think) what you've said but I am trying to sort [Project Name]-[(Date Logged)] with the [Date Logged] field. *- Checked the Data model and the format for this is dd/mm/yyyyy so I can't see how that could ever return a different answer. There may be occassions where 2 different projects get logged on the same day. Is that where the problem is?
- selimovd5 years agoMost Valuable Professional
Hey Anonymous ,
yes, as the error says: There can't be more than one value in the "DateLogged" for the same value in "Concatenate1".
Fix that and it will work.
If you need any help please let me know.If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍Best regardsDenisBlog: WhatTheFact.biFollow me: twitter.com/DenSelimovic- Anonymous5 years agoNot applicable
Found the issue and have now resolved it. Thanks for your help on this.