Forum Discussion

Just2431's avatar
Just2431
Helper I
2 years ago
Solved

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 a...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi Just2431 ,

    Depending on the information you provided, you can follow these steps below:
    In Power Bi Desktop

    1.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 Learn

    How 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.