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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
KS7
Regular Visitor

Need Help with Dynamic Axis Title and Tooltip in Deneb (Power BI)

Hi everyone,

I’m currently working on a custom visualization in Deneb (Power BI) where I’ve implemented:

  • Primary and Secondary Y-axes

  • Dynamic color bands

  • Dynamic Secondary Y-axis using a Field Parameter

Everything is working as expected — the Secondary Y-axis values change dynamically based on the parameter selection.

However, I’m facing an issue:
I want the selected Field Parameter name (for the Secondary Y-axis) to appear dynamically in the Secondary Y-axis title and the tooltip.

I tried using the signal approach in Vega-Lite to capture the parameter value and bind it to the title and tooltip, but it’s not working as intended.

Has anyone successfully implemented this kind of dynamic axis title or tooltip binding using parameters or signals in Deneb?
Any suggestions or code examples would be really helpful! 🙏

Thanks in advance!

2 REPLIES 2
lbendlin
Super User
Super User

the Secondary Y-axis values change dynamically based on the parameter selection.

How did you get that to work? Usually the Deneb visual uses the materialized version of the parameter.

 

You will also need to force that parameter to a single select slicer unless you want to deal with the list management.

 

Can you show me how to modify this PoC to have a dynamic parameter?

 

EDIT:  Forgot about the "extra measure" trick. Provide Field Parameter Support · Issue #238 · deneb-viz/deneb

 

So - create two measures - one that gets the parameter value and one that gets the parameter title. Then use the second one for your dynamic axis.

Here's a bit of a gimmicky version abusing the legend instead.

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.