Forum Discussion
Help with automating the title
Hello!
i created a report and every month I am getting a data sheet with the new month, like January, February etc...I have a query table with the current_month_data that I am suing for that table and once i refresh the data are chenging except the title ...right now I have February but the next month is March and i would like to have that title changed every time i refresh. Can i achieve this??
Thank you in advamce for the help. Please see the example. I am using multi row card for my field withnthe month name and the value.
- Anonymous2 years ago
Hi Just2431 ,
Depending on the information you provided, you can follow these steps below:
In Power Bi Desktop1.Add new measure.
Current Month = "Data for " & FORMAT(MAX('Table'[DATE]), "MMMM")2.Go to the visual object whose title you want to change dynamically. Click the fx button next to the title text box, select Format as Field Value, and then select the metric you created ().
Fianl output:
Re-upload the pbix to Power Bi Service. whenever the data is refreshed the metrics are updated with the latest month in the dataset and the captions of the visual objects are also updated.
For a more detailed guide to creating dynamic captions, you can also refer to the following document:
Expression-based titles in Power BI Desktop - Power BI | Microsoft LearnHow to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- Just2431
Helper I
Thank you!!! exactly what i needed and it works.
- AnonymousNot applicable
Hi Just2431 ,
Depending on the information you provided, you can follow these steps below:
In Power Bi Desktop1.Add new measure.
Current Month = "Data for " & FORMAT(MAX('Table'[DATE]), "MMMM")2.Go to the visual object whose title you want to change dynamically. Click the fx button next to the title text box, select Format as Field Value, and then select the metric you created ().
Fianl output:
Re-upload the pbix to Power Bi Service. whenever the data is refreshed the metrics are updated with the latest month in the dataset and the captions of the visual objects are also updated.
For a more detailed guide to creating dynamic captions, you can also refer to the following document:
Expression-based titles in Power BI Desktop - Power BI | Microsoft LearnHow to Get Your Question Answered Quickly - Microsoft Fabric Community
If it does not help, please provide more details with your desired out put and pbix file without privacy information.
Best Regards,
Ada Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.