Forum Discussion

jvazhach's avatar
jvazhach
Regular Visitor
1 year ago
Solved

Formatting Matrix table

I have created a matrix table. with several rows, some of which have text "%" included in them. I need to format these specific rows in % format, rest I want in the integer format. Also the rows have to be sorted basis a helper column. is it possible.

Sr. No.

CriteriaQ1Q2Q3Q4
1Sales100200300400
2GOP10203040
3GOP % Sales0.10.10.10.1

 

I am creating a matrix table where the row is "criteria". I need to sort it in the order of "Sr. no." column. Also rows having text "%" should be in format 0.0% 

8 Replies

  • Hi jvazhach 

     

    The quick and dirty way to do it ,  I think you an create measure for each Quarters similar to this 

     

    Q1_M = SUM('YT'[Q1])/100

     

    and use it as values , to change the the measure to percentage click the measure -> and click % and 1 decimal places 

     

     

     

    and if you want to sort criteria based on Sr.no then you can click criteria column -> click sort by column and pick Sr.no

     

    • jvazhach's avatar
      jvazhach
      Regular Visitor

      Hi KushanNA, 

      Thanks for your response. The table needs to have partial row values in number format and rest of row values in percent format. I guess the above measure uniformly converts all row values to percent format. 

      Also, I need to sort the table by Sr. No. without it being a part of the table. Will that still work. So basically I have a database with Profit and loss statements for multiple locations and I am trying to create a report which slices the data by different filters and gives the user the option to see the profit and loss statement for the selected filters

    • jvazhach's avatar
      jvazhach
      Regular Visitor

      Hello danextian,

       

      Thanks for your response. How can I enable the table tools and measure tools option in PBI desktop.

      I dont see those 

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi jvazhach ,
        Thank you danextian and kushanNa for the helpful answers!

        Thanks for your follow-up!

        The Table tools and Measure tools tabs appear only when you select a measure or calculated column in the Fields pane. Try clicking on your measure ,the ribbon updates automatically. Dynamic format strings work only with measures, not columns.

        Hope this helps.If so,consider accepting it as solution.

        Regards,
        Pallavi.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi jvazhach ,
    Thank you danextian  and kushanNa for the prompt response!
    I just wanted to kindly follow up to see if you had a chance to review the previous response provided by danextian and kushanNa . I hope it was helpful. If yes, please Accept the answer so that it will be helpful to others to find it quickly.
    Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi jvazhach ,
    I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution. It would be greatly appreciated by others in the community who may have the same question.
    Thank you.

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi jvazhach ,

    I wanted to check and see if you had a chance to review our previous response. Please let me know if everything is sorted or if you need any further assistance.

    Thank you.