Forum Discussion
Need Help with Custom Sorts
- Anonymous5 years ago
Thank you all for your feedback. Another issue occurs while using the Related fir custom sorting .
I am using the RELATED DAX query and it works in some instances . Related tables 'Sheet1' and RTOTable. However, after the Related query is executed in the Sheet1 table, some values are blank even though there is an associated value. All RTO_ID are listed except for "8" and "10". Why is this happening? See both tables below
Sheet1 Table after the RELATED query is executed
RTOTable
Anonymous Duration
You will need to convert those to seconds, add them and essentially convert them back more or less. Look at the links below, they should get you what you need.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Chelsie-Eiden-s-Duration/m-p/793639#M389
https://community.powerbi.com/t5/Community-Blog/Aggregating-Duration-Time/ba-p/22486
https://community.powerbi.com/t5/Quick-Measures-Gallery/Duration-to-Seconds-Converter/m-p/342279#M92
- Anonymous5 years agoNot applicable
Thank you Greg for your quick response. Seems like a LOT of work for something that can be done in a few seconds, using Excel (2010) via a custom sort. The data I am using is large and though your method would yield the desired results, this method is not practical.
I’m disappointed to learn the archaic way that Power BI does customize sorts. Again, thank you for your feedback which is greatly appreciated!
- Anonymous5 years agoNot applicable
Thank you all for your feedback. Another issue occurs while using the Related fir custom sorting .
I am using the RELATED DAX query and it works in some instances . Related tables 'Sheet1' and RTOTable. However, after the Related query is executed in the Sheet1 table, some values are blank even though there is an associated value. All RTO_ID are listed except for "8" and "10". Why is this happening? See both tables below
Sheet1 Table after the RELATED query is executed
RTOTable
- v-yingjl5 years agoCommunity Support
Hi Anonymous ,
Please check whether the field format is the same as the RTO table.
For example, I have found that one of the type fields in RTO table 'Weeks 3+' while in Sheet1 Table is 'Week 3+' so that it would return blank in the Sheet1 Table.
Simliar issue with '72 Hours - 1 Week', check whether the spaces are the same etc.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. - Anonymous4 years agoNot applicable
Thank you so mujch v-yingjl! I needed your 2nd pair of eyes 🙂