cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
sprasad
Helper II
Helper II

change the Title text with input parameters

Hi,

I am using a Power BI template to work on my graphs. I accept user inputs (Parameterized variables) and one of them is the Product version. So based on the version my graph changes but the Graph Title shows the old/previous saved version only. I want the Version which I input, to reflect on the Graph Title as well. Is it possible to do so and if so how?

 

Thanks

Sudhir

1 ACCEPTED SOLUTION

Hi @sprasad,

 

In Format tab, Turn off Category Labels.

 

Capture.PNG

Prateek Raina

PS: Please mark my post as solution if you think i have solved your problem. Also, don't forget to give a Thumbs Up 🙂

View solution in original post

10 REPLIES 10
prateekraina
Memorable Member
Memorable Member

Hi @sprasad,

 

Follow below steps to achieve what you need:
1. Go to Query Editor and enable load for the Parameter.

Capture.PNG

2. Load the data into Power BI model and use the parameter in your Title measure:

Capture1.PNG

3. Export to Power BI template file.

 

Now, whoever opens the template and fills in version number, the same will be reflected in the title.
Here is the link to the dummy template I created in case you need to replicate.

Cheers !!

 

Prateek Raina

Hi Prateek, 

I am not able to access the link to the dummy template. In the capture1.png, I see that Dynamic Title is a Measure field & Version/Version is what control? Littel bit confused.

How and where do I pass the Input value? Any help is appreciated

 

Thanks

Sudhir

Hi @sprasad,

 

Whats the error when you try to open the link?


When you click  on Enable Load for parameter in Query Editor, it brings the parameter in form of table in Data view.

That Version/Version which you see is actually the paarmeter name i.e. Version.

 

You can pass the input value by clicking on Edit Queries dropdown > Edit Parameter.


Capture.PNG

 

Prateek Raina

Hi Prateek

 

I had already created the parameters but I missed checking the Enable Load option.  I think now it should work. I will let you kow.

 

Thanks

Sudhir

HI Prateek

Its working . Thanks for your help and suggestion.

One more question - How to remove the "Dynamic Title" text in the card?

 

Thanks

Sudhir

Hi @sprasad,

 

In Format tab, Turn off Category Labels.

 

Capture.PNG

Prateek Raina

PS: Please mark my post as solution if you think i have solved your problem. Also, don't forget to give a Thumbs Up 🙂

Thanks Prateek. It worked. Al it was a good learning for me.

 

Version as in Title TextVersion as in Title TextI want this version to change to IE01.02

ChangeVersion.PNGSo that in the Graph it also changes when the user want to Input the Value as IE01.02

Hi @sprasad,

 

Changing the native title text is not possible dynamically.

The only workaround is that you should turn this off and use the card visual or any other similar visual as title for the graph.

 

Place it on top of Chart such that it looks as if it is the native title of the chart.

 

Prateek Raina

BhaveshPatel
Community Champion
Community Champion

Hi Sudhir,

 

Check out the below blog post from Chris Webb.

https://blog.crossjoin.co.uk/2016/04/25/dynamic-chart-titles-in-power-bi/

 

You can also use the TOPN and VALUES combination or SELECTEDVALUE function.

 

Hope thos can help you out to solve the specific use case.

 

Thanks,

Bhavesh Patel

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors