Forum Discussion

Bruce101995's avatar
Bruce101995
Regular Visitor
1 year ago
Solved

Power BI table , when filter values desapear

Hello,  Hope you all doing well. I have a table where I have the Structural costs and the Budget.  I n the table some lines have no value ,so in the filter section I put "greater then " 0, but...
  • burakkaragoz's avatar
    1 year ago

    Hi Bruce101995 ,

     

    At the moment, Power BI’s Button Slicer Grid doesn’t support changing the fill direction from across-then-down to down-then-across. It always fills row-wise by default.

    That said, here’s a workaround that gives you more control over the order:

    1. Create a custom sort column in your data model that reflects the order you want the buttons to appear in (top to bottom, then left to right).
    SortOrder = 
    SWITCH(
        [YourField],
        "Option A", 1,
        "Option B", 2,
        "Option C", 3,
        ...
    )
    1. Sort your slicer field by this SortOrder column.

    2. Then adjust the grid layout (e.g. 2 columns, 5 rows) to match the visual structure you want. It won’t change the fill direction, but it will control the order in which items appear.

    Hopefully Microsoft adds a native toggle for this in the future, but for now this method works well.

    If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I would be grateful for a 'Kudos' if you found my response helpful.
    translation and formatting supported by AI