Forum Discussion
Power BI Report Builder - Report Name Global variable
- Anonymous5 years ago
Hi Anonymous ,
According to the official documents, The Globals collection contains the global variables for the report. On the design surface, these variables appear prefixed by an & (ampersand).
[&ReportName].For examples:
=Globals.ReportName & ", dated " & Format(Globals.ExecutionTime, "d")This expression provides the name of the report and the time it was run. The time is formatted with the Microsoft .NET Framework formatting string for short date:
Refer to:
Expression examples in Power BI Report Builder - Power BI | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
According to the official documents, The Globals collection contains the global variables for the report. On the design surface, these variables appear prefixed by an & (ampersand). [&ReportName].
For examples:
=Globals.ReportName & ", dated " & Format(Globals.ExecutionTime, "d")
This expression provides the name of the report and the time it was run. The time is formatted with the Microsoft .NET Framework formatting string for short date:
Refer to:
Expression examples in Power BI Report Builder - Power BI | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.