MattRudy / PowerBI-ThemeTemplates

JSON Templates for assembling Power BI Themes
The Unlicense
228 stars 83 forks source link

Matrix (pivotTable) visual: column text alignment #122

Open Ale-g-g opened 2 years ago

Ale-g-g commented 2 years ago

Is it possible to set the alignment for field values in Matrix columns?

I have tried the following (trying to replicate what I could find stored in"Layout" file located inside the .pbix file):

"columnFormatting": [
    {
        "alignment":"Center",
        "styleHeader":true,
        "styleTotal":true
    }],

but it is not working, since this option has to be changed individually for each field in PowerBI

I have also tried adding a new "alignment": "Center" property under "values" section, without success.

Thanks for your amazing work!

github-actions[bot] commented 2 years ago

Hey @Ale-g-g! Thanks for opening your first issue. We appreciate your contribution to this project! One of our project maintainers will review this soon.