Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
In my PBI report, I have a table "dash_Monthly_7E" which looks like this:
The calculated column "Month Start Date" has the following formula:
The "As At Date" object is a What-If Parameter that the user can define when viewing the report.
I need the table to update the dates in column "Month Start Date" when a date value is entered into the What-If Parameter.
This currently isn't working, and the EOMONTH function is using today's date, instead of the value in the parameter.
I have read that this is because What-If Parameters cannot be used in calculate columns, which "Month Start Date" is.
So I think I understand the problem, does anyone know any workarounds please?
Thank you.
Solved! Go to Solution.
I have managed to resolve this issue.
I simply recreated the table "dash_Monthly_7E" and replaced all of the calculated columns with measures. The measures are able to use the What-If parameter in their DAX code and so it works now.
I have managed to resolve this issue.
I simply recreated the table "dash_Monthly_7E" and replaced all of the calculated columns with measures. The measures are able to use the What-If parameter in their DAX code and so it works now.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
57 | |
37 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |