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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Divya0606
Frequent Visitor

Dynamic title in the drill through page based on the selected visuals what should do?

Am trying to create a dynamic title in the drill through page based on the selected visuals but Power bi is not able to retrieve dynamic title based on selected value because we are using same values in all visuals.

Two or more visuals are using same fields.

is there any work around?

1 ACCEPTED SOLUTION
v-csrikanth
Community Support
Community Support

Hi @Divya0606 
Sorry for the late response.
In addition to the above solution by @HarishKM ,you can create a dynamic title in a drill-through page even when multiple visuals use the same fields by leveraging a DAX measure and context-aware visuals.
*******************************************************
SelectedEntityTitle =
IF (
HASONEVALUE('YourTable'[CommonField]),
"Details for: " & SELECTEDVALUE('YourTable'[CommonField]),
"Drillthrough Details"
)
*******************************************************

This measure will reflect the selected value passed to the drill-through.

If multiple values are passed (which shouldn’t happen in a single drill-through), it shows a fallback.

It works even if multiple visuals use the same field, because the drill-through passes one context only.

 

Use the SelectedEntityTitle measure in a card visual on your drill-through page. It works best when a single item is selected. Let me know if multi-row context support is needed.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

 

View solution in original post

9 REPLIES 9
v-csrikanth
Community Support
Community Support

Hi @Divya0606 

It's been a while since I heard back from you and I wanted to follow up. Have you had a chance to try the solutions that have been offered?
If the issue has been resolved, can you mark the post as resolved? If you're still experiencing challenges, please feel free to let us know and we'll be happy to continue to help!
Looking forward to your reply!

Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @Divya0606 

If your issue is resolved, please consider marking the post as solved. However, if you're still facing challenges, feel free to share the details, and we'll be happy to assist you further.
Looking forward to your response!

Best Regards,
Community Support Team _ C Srikanth.

v-csrikanth
Community Support
Community Support

Hi @Divya0606 
Sorry for the late response.
In addition to the above solution by @HarishKM ,you can create a dynamic title in a drill-through page even when multiple visuals use the same fields by leveraging a DAX measure and context-aware visuals.
*******************************************************
SelectedEntityTitle =
IF (
HASONEVALUE('YourTable'[CommonField]),
"Details for: " & SELECTEDVALUE('YourTable'[CommonField]),
"Drillthrough Details"
)
*******************************************************

This measure will reflect the selected value passed to the drill-through.

If multiple values are passed (which shouldn’t happen in a single drill-through), it shows a fallback.

It works even if multiple visuals use the same field, because the drill-through passes one context only.

 

Use the SelectedEntityTitle measure in a card visual on your drill-through page. It works best when a single item is selected. Let me know if multi-row context support is needed.

If the above information is helpful, please give us Kudos and mark the response as Accepted as solution.
Best Regards,
Community Support Team _ C Srikanth.

 

Thanks ill try and let you so helpful

v-csrikanth
Community Support
Community Support

Hi @Divya0606 

Thank you for being part of the Microsoft Fabric Community.

As highlighted by @HarishKM , the proposed approach appears to effectively address your requirements. Could you please confirm if your issue has been resolved
If you are still facing any challenges, kindly provide further details, and we will be happy to assist you.

Best Regards,

Cheri Srikanth

I did try that but the same field is used in multiple visuals so the dynamic title just picks the first possible chart name

HarishKM
Solution Sage
Solution Sage

@Divya0606 Hey,
You can create a dynamic title using below dax.

DynamicTitle =
"Details for " & SELECTEDVALUE('Table'[YourField]) &
" from " & SELECTEDVALUE('Table'[VisualType])

 

Thanks
Harish M
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query

pankajnamekar25
Memorable Member
Memorable Member

Use Buttons + Bookmarks instead of drillthrough

 

Thanks,
 Pankaj Namekar | LinkedIn

If this solution helps, please accept it and give a kudos (Like), it would be greatly appreciated.

but there are four visuals and only one drillthrough page

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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