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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
NivS
New Contributor

Is there a way to add a subtitle to a visual using PowerBI-client?

Hey, 
I'm trying to add a subtitle to a visual created using 

createVisual

with the powerbi-client library.
Is there a way to do that (I know that usually you should call visual.setProperty(...), but couldn't find this property in the docs).

Just to be clear: I'm trying to achieve the functionality shown in the images below using the powerbi-client library.

NivS_1-1728202298968.png

 



NivS_0-1728202286763.png

 

Thanks in advance!

3 REPLIES 3
lbendlin
Esteemed Contributor III

Table visuals in general do not have a "subtitle"  property. Only "title"  is supported.

 

You would have to provide that in your wrapper.

NivS
New Contributor

Thanks @lbendlin - Can you please refer me as to how to create such a wrapper?
I'm embedding a report as a whole (single iFrame) each time.
How can I wrap a single visual?
Thanks again

lbendlin
Esteemed Contributor III

Power BI embedded analytics overview - Power BI | Microsoft Learn

 

You would need to implement the actual embedding experience, not just the iframe.

Helpful resources

Announcements
Top Kudoed Authors
Users online (6,084)