Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Sushain_Koul
Helper I
Helper I

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.

1 ACCEPTED SOLUTION
ManuelBolz
Super User
Super User

Hello @Sushain_Koul,

 

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

View solution in original post

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @Sushain_Koul ,

 

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.

ManuelBolz
Super User
Super User

Hello @Sushain_Koul,

 

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

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.