Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi,
I am trying to implement validations on date parameters in paginated reports in Power BI Report Builder.
Example: If there are 2 date parameters 'Date Range From' and 'Date Range To' and throw a validation message
"Date Range From must be less than Date Range To" when value in 'Date Range From' > 'Date Range To'.
Please suggest how can i achieve this behaviour.
Solved! Go to Solution.
Hi @SimG ,
Below is my table1:
Below is my table2:
You can create two parameters:
The following Expression might work for you:
=IIf(Parameters!Date_Range_From.Value > Parameters!Date_Range_To.Value , "Date Range From must be less than Date Range To" , "")
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SimG ,
Below is my table1:
Below is my table2:
You can create two parameters:
The following Expression might work for you:
=IIf(Parameters!Date_Range_From.Value > Parameters!Date_Range_To.Value , "Date Range From must be less than Date Range To" , "")
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
34 | |
30 | |
18 | |
12 | |
8 |
User | Count |
---|---|
50 | |
35 | |
30 | |
14 | |
12 |