Forum Discussion

EOW's avatar
EOW
Icon for Advocate II rankAdvocate II
1 year ago
Solved

Maximum column height in visual, dynamic depending on drill down/expanding

I've got a visual that displays [Total Orders] for the last 10 weeks, summarised by a date hierarchy Year/Quarter/Month/Week (doesn't use actual calendar dates but our finaincial calendar). I'm tryin...
  • EOW's avatar
    EOW
    1 year ago

    BITomS I tweaked your DAX and managed to get it working on the visual itself

    SWITCH(TRUE()
    , ISINSCOPE(Dates[Week]), MAXX(ALLSELECTED(Dates[Year], Dates[Quarter], Dates[Month], Dates[Week]), [Total Orders])
    , ISINSCOPE(Dates[Month]), MAXX(ALLSELECTED(Dates[Year], Dates[Quarter], Dates[Month]), [Total Orders])
    , ISINSCOPE(Dates[Quarter]), MAXX(ALLSELECTED(Dates[Year], Dates[Quarter]), [Total Orders])
    , ISINSCOPE(Dates[Year]), MAXX(ALLSELECTED(Dates[Year]), [Total Orders])
    , [Total Orders]
    )

    Unfortunetly, it seems like ISINSCOPE doesn't work in a Visual Title or Axes so I've hit a road block.
    I've submitted it as an Idea on the Idea forum.
    Let a visual title and Axes read displayed hierarc... - Microsoft Fabric Community
    Hopefully it gets traction.