Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
So i am developing a report where i've set two parameters to filter the dates,
From_date and To_date.
To_date default Value is Today(), for From_date i want to set the default value from the Starting day of the current month.
I tried using this Expression
But i am getting this error.
"The 'Value' expression for the report parameter 'From_date' contains an error: [BC30108] 'Date' is a type and cannot be used as an expression.
----------------------------
The definition of the report '' is invalid.
----------------------------
An error occurred during local report processing."
Is there any other way that i can do this?
Solved! Go to Solution.
Date is a DAX function, you are building this in the Power BI report builder, right? The internal expression language isn't DAX. You can check the common function to see how to write expressions, see the arrow. This will work, might be a little different depending on your region:
Date is a DAX function, you are building this in the Power BI report builder, right? The internal expression language isn't DAX. You can check the common function to see how to write expressions, see the arrow. This will work, might be a little different depending on your region:
Hi @cmkrishnaprasad based on picture, you selected Constants as Category. Check it.
Proud to be a Super User!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 13 | |
| 11 |