Forum Discussion
Cannot add a property to Format->general
- 8 years ago
I found the issue by complete chance, Apparently type must not be false (I thought it was default value) in type in capabilities, so it must be defined like.
"sortByName": { "displayName": "Sort by name", "displayNameKey": "Visual_SortTasks", "type": { "bool": true } },Now it appears
Hello patr0805
You must include "sortByName" into capabilities.json.
Please take a look at the documentation to find out more.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
I found the issue by complete chance, Apparently type must not be false (I thought it was default value) in type in capabilities, so it must be defined like.
"sortByName": {
"displayName": "Sort by name",
"displayNameKey": "Visual_SortTasks",
"type": {
"bool": true
}
},Now it appears
- kiliman8 years agoNew Member
Hello - it seems that the Gantt visual is now (in the last couple of weeks) sorting the data by Task as a default. It used to be by Start Date. I'm a newbie at customizing but is there a quick way to get back to sorting by Start Date?
Thanks.
- kiliman8 years agoNew Member
Hello - it seems that the Gantt visual is now (in the last couple of weeks) sorting the data by Task as a default. It used to be by Start Date. I'm a newbie at customizing but is there a quick way to get back to sorting by Start Date?
Thanks.
- v-viig8 years agoCommunity Champion
Hello kiliman
You can change the default sort order by clicking "..." (3 dots) in the right top corner of Gantt Chart.
After that you will be able to change sort order as you want.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
- kiliman8 years agoNew Member
Thank you! That was a Doh! moment. Appreciate it...