Forum Discussion

Andrew-HLP's avatar
Andrew-HLP
Helper I
1 year ago
Solved

Tooltips (beginners question)

Hello    I have built a report (matrix) which looks like this...     I can use the [+] buttons on each row to drill though the accounts hiarchy to show different levels of detail - Level 1...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Andrew-HLP ,

     

    Thank you for reaching out to Microsoft Fabric Community Forum.

    DataNinja777 Thank you for your response.

     

    Andrew-HLP You're on the right track using ISINSCOPE() to detect the current level in the matrix. Since your goal is to show the next level down in a dynamic Tooltip based on what's currently expanded in the matrix, here's an approach that works well in practice:

    Instead of trying to dynamically change the field parameter (which Power BI doesn't currently support conditionally), you can use multiple visuals on your Tooltip page,one for each level of detail and control their visibility using DAX.

    For example, you could create measures like:

    ShowLevel3InTooltip =
    IF(
        ISINSCOPE('GL Map Accounts'[Level 2]) && NOT ISINSCOPE('GL Map Accounts'[Level 3]),
        1,
        0
    )

    This measure checks if you're currently viewing Level 2 and hides the visual unless you're hovering at that level.

    Then on your Tooltip page:

    • Add a visual for each level you want to show (e.g., Level 3, Level 4).
    • Use a visual-level filter on each one like ShowLevel3InTooltip = 1 to ensure only the correct level is visible based on the matrix drill level.

    This gives users a clean experience where the Tooltip always shows the next level of detail, depending on how far they've expanded in the matrix.

     

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it!

    Regards,

    B Manikanteswara Reddy