Forum Discussion

bvbull200's avatar
bvbull200
Helper III
4 years ago
Solved

Visual With Row Headers vs Column Headers

I have a dataset with about 3MM rows.  Each row is for a different sku number.  This report will be filtered/sliced such that only one sku is shown at a time.


What I am trying to replicate is basically this view (from an old MS Access tool we used to use).  I get the differences between querying for one part in Access and visualizing a dataset in PBI, but I still think this is doable.

 

When using the table visual in PBI, it is showing the right info, but the headers are in the columns, not the rows.  If I could simply make the data go horizontally (starting with the field name) instead of vertically, I'd be golden.  Outside of creating a bunch of single value cards with a text box next to them, are there any suggestions for how to display this?  Without pivoting my data, can I get a table visual of sorts to go horizontally insted of vertically?

 

 

4 Replies

  • bvbull200 yes I will not go that route, putting the label as a different visual, it is always tough to maintain.

     

    There is one way to present the data you want but you need to create a measure for each column which will be simply MAX ( Table[ColumnName] )

     

    and then use these measures in a matrix visual and on the formatting pane, turn on show on rows, and that will do it. 

     

     

    Follow us on LinkedIn and  to our YouTube channel

     

    Learn about conditional formatting at Microsoft Reactor

    My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

    • bvbull200's avatar
      bvbull200
      Helper III

      That is one heck of a workaround!  It will require a little work on the front end to get the measures created, but the result seems to be just what I was after.  Thank you for this.  Accepted as the solution!

    • bvbull200's avatar
      bvbull200
      Helper III

      Thank you for the suggestion.  I have tried that visual, but the category labels only display below the value and not to the side.  I can possibly use the multi-row card to display the values, then add text boxes next to each one to label them, but that seems like a less than elegant solution.