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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pkoel-asb
Helper V
Helper V

Can I run an AJAX call in a Power BI Tool Tip

Hello Friends,

 

    My developer coworker has asked the following question: When the ManufID=13, can we change the test color to red AND have a tool tip set up to run an AJAX call and display the reults in the tool tip?

 

I do not know AJAX, or it I am even saying this correctly, but I beleive that he wants me to create a tool tip that will display the resilts of an AJAX call in a tooltip. Can this be done? If so, can you point me to some samples or documentation?

 

Cheers!

 

Peter

2 REPLIES 2
amitchandak
Super User
Super User

@pkoel-asb , for color we can have color measure and use that in conditional formatting using the field value option

 

if(max(Table[ManufID])=13, "Red", "White")

 

I doubt you can have ajax of tooltip. But you can use power bi page. There you can try HTML content visual

 

https://docs.microsoft.com/en-us/power-bi/desktop-tooltips

 

use in tooltip page

HTML content
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200001930?tab=overview
D3js
https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381354?tab=Overview

Thanks for the reply!

 

Now I just need to know if I can run AJAX in a tooltip. If not, can I create a custom Javascript and run it inside the tool tip?

 

Peter

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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