Forum Discussion

bdoiron's avatar
bdoiron
Frequent Visitor
9 years ago
Solved

Problem sorting report

 I have a sql table as a datasource for my dashboard. Columns are Sort Order (Integer) and ItemDesc  as (Text)                                              (1)  138410     A1_Trenching

  • (2)  138415     A10_Rigging
  • (3)  138411     A2_Confined Space   
    I want to sort by column 1 so I go to query mode and sort column 1 and the query view sort and show correctly. Then I Apply changes and go back to my visual and it is sorted like the above by ItemDecr. What could I be doing wrong. Since I cant sort by the descr i really want to sort by Sort order but dont include it in my visual.   THANKS                                    
  • Hi bdoiron,

     

    To sort column "ItemDesc" by column "Sort Order", you need to select column "ItemDesc" first, then click Sort by Column under Modeling tab, and choose "Sort Order". :smileyhappy:

     

     

    Regards

7 Replies

    • bdoiron's avatar
      bdoiron
      Frequent Visitor

      When I am in table view or query sort order is selected for sorting and the data view shows itemdescr in the correct order

      A1,A2,.........A10 But when I go back to my visual (report) view it is sorted by itemdescr.

      • bdoiron's avatar
        bdoiron
        Frequent Visitor

        Also i find that if my visual is a bar chart I can click on the .... ellipses on the the upper right and sort order is available but I need the visual in a table format and when I switch and do the same thing sorting is not available. Why shouldnt the query order the data????

  • v-ljerr-msft's avatar
    v-ljerr-msft
    Microsoft Employee

    Hi bdoiron,

     

    To sort column "ItemDesc" by column "Sort Order", you need to select column "ItemDesc" first, then click Sort by Column under Modeling tab, and choose "Sort Order". :smileyhappy:

     

     

    Regards

    • bdoiron's avatar
      bdoiron
      Frequent Visitor

      Sorry for the delay I was way from the office. Thanks for the reply it worked. However I need a product solution that will enable me to let a customer open our website and enter login credientials to access their dashboard data. From what I have been reading when you publish from this product it must not be sensitive data. Is this a correct assumption?

       

      • v-ljerr-msft's avatar
        v-ljerr-msft
        Microsoft Employee

        Hi bdoiron,

         

        Great to hear the original problem got resolved! 

         

        As the new question doesn't relate to your original one, I would suggest you post it in a new thread for better assistance in the forum. :smileyhappy:

         

        In addition, could you accept the corresponding reply as solution to help others who may also have the similar issue easily find the answer and close this thread?

         

        Regards