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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Myagi-Do
Helper I
Helper I

Set min date as default value in paginated report parameter

Hi there, 

 

I am new to building paginated reports and I am struggeling with setting min and max dates as default values in my paginated report values.

 

I tried these 2 expressions in the Report Parameter Properties / Default Values but I get different error messages.

 

=First(Fields!TimeGenerated.Value, "DataSet1")

A 'Value' expression used for the report parameter 'FromAPIMTimeGenerated' refers to a field. Fields cannot be used in report parameter expressions.

 

=Min(Parameters!FromAPIMTimeGenerated.Value)

A 'Value' expression used for the report parameter 'FromAPIMTimeGenerated' includes an aggregate or lookup function. Aggregate and lookup functions cannot be used in report parameter expressions.

 

How can I set the min date as a default value here?

 

Thanks

 

 

Screenshot 2023-02-28 at 11.23.39.png

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @Myagi-Do,

Perhaps you can take look at the following links about setting 'default value', 'use parameter in expression' if they helps:

Using Report Parameters in Expressions Explained - Telerik Reporting

Add, change, or delete default values for a paginated report parameter - Microsoft Report Builder & ...

In addition, this seem nor related to report builder usages, I'd like to suggest you post at the RS sub forum to get better support.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.