Forum Discussion

deb_power123's avatar
deb_power123
Icon for Helper V rankHelper V
5 years ago
Solved

How to format Table matrix cell in PowerBI?

Hi All,

 

what is the option to format the data values in a table matrix in PowerBI. My table matrix looks like the below screenshots.

 

If we can see in the below table matrix , the %attendance is oriented towards extreme right in the grid cell. I want to move this % attendance towards left so that it looks well aligned w.r.t the attendance row.

 

Below is an expected format.Can we achieve this? In excel we have formatting option, but can we do the same in PowerBI.Please advice

Is there any such formating feature in table matrix, if yes then which property?Any examples will be helpful.

 

Present format of visualization:-

Present visulization

Expected format of visualization :

expected format of visualization

 

My input data 

Location     Year attendance %attendance
A 2018    1/1001
A2019    2/1002
A2020    3/1003
A2021   40/10040
B2018    2/1002
B2019   20/10020
B2020   40/10040
B2021   45/10045
  • Hi, deb_power123 

    Yes, power Bi has this format option:
    Check:
    format>>Field formatting>>Alignment>>left

     

     

     

    Is this the result you want? Hope this is useful to you

     

    Best Regards,
    Community Support Team _ Zeon Zheng
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

5 Replies

  • Hi, deb_power123 

    Yes, power Bi has this format option:
    Check:
    format>>Field formatting>>Alignment>>left

     

     

     

    Is this the result you want? Hope this is useful to you

     

    Best Regards,
    Community Support Team _ Zeon Zheng
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Hi deb_power123 ,

    Not sure how you created the Matrix that you have shown as Present view

     

    I would suggest you to transform the source table as shown below before building the matrix

     

    Then build the matrix. Shown below the screenshot

     

     

    Hope this helps!!

     

    If this solves the issue, mark it as solution and give it a thumbs up!!

    • deb_power123's avatar
      deb_power123
      Icon for Helper V rankHelper V

      Hi Thejeswar 

      The problem is both % attendance and attendance are calculated columns and this doesnt show up in transformation tab.Try any calculated column , you cant unpivot ..is there a way to handle?

      • Thejeswar's avatar
        Thejeswar
        Icon for Super User rankSuper User

        Hi deb_power123 ,

        Shouldn't be a problem at all.

         

        Just move the calculated columns to the Power Query Editor.

        I mean created calculated columns in Power Query Editor. Then do the unpivot on those new columns.

        It will work perfectly fine

         

        Regards