Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Query regarding tooltip

Hello All,

Is there a way I can display multiple values in a measure. If yes pls let me know.

My scenario is that I want to display across each day certain number of product names as tooltip depending upon certain condition. For example for 6th June,2024 I had 4 products so I should be showing the names of those 4 products accordingly as tooltip. Any suggestions will be very helpful. Thanking u all in advance for your help.

  • Hello Anonymous,

     

    ProductNamesTooltip = 
    VAR SelectedDate = SELECTEDVALUE('Product'[Date])
    RETURN
    CALCULATE(
        CONCATENATEX(
            FILTER(
                'Product',
                'Product'[Date] = SelectedDate && <YourCondition>
            ),
            'Product'[ProductName],
            ", "
        )
    )


    Best regards from Germany
    Manuel Bolz


    If this post helped you, please consider Accept as Solution so other members can find it faster.

    🤝Follow me on LinkedIn

2 Replies

  • ManuelBolz's avatar
    ManuelBolz
    Responsive Resident

    Hello Anonymous,

     

    ProductNamesTooltip = 
    VAR SelectedDate = SELECTEDVALUE('Product'[Date])
    RETURN
    CALCULATE(
        CONCATENATEX(
            FILTER(
                'Product',
                'Product'[Date] = SelectedDate && <YourCondition>
            ),
            'Product'[ProductName],
            ", "
        )
    )


    Best regards from Germany
    Manuel Bolz


    If this post helped you, please consider Accept as Solution so other members can find it faster.

    🤝Follow me on LinkedIn

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    According to your statement, I think you may want to create a dynamic tooltips.

    Due to your requirement is based on your data model, please share a sample file with us and you can show us a screenshot with the result you want. This will make it easier for us to find the solution.

     

    Best Regards,
    Rico Zhou

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.