Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi good day, can anyone help me correct my calculated column. what i required is there should be no value beyond <= Today
Solved! Go to Solution.
Hi @Ritaf1983 thank you very much for the reply i got the solution
Hi @AllanBerces
Your current DAX formula calculates a Running Total (grouped by Task and Trade), which doesn't seem to align with your request to limit values based on today's date.
To help you fix this, a few points need clarification:
Logic Mismatch: There is no reference to TODAY() in your code. To limit values, you simply need a comparison like 'table'[PlanDate] <= TODAY().
Calculated Column Context: Why are you using an aggregation (SUM) and row-context navigation (EARLIER) if the goal is a simple filter? If you just want to display the value of the current row based on a date condition, you don't need CALCULATE or SUM.
Best Practice: EARLIER is considered legacy DAX. It is better to use Variables (VAR) for better readability and performance.
To provide a correct solution, please share:
A small sample of your source table.
An example of the expected result you want to see in the new column.
This will clarify if you actually need a running total that stops at today, or just a simple row-level check.
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Ritaf1983 thank you very much for the reply i got the solution
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 22 | |
| 22 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 35 | |
| 28 | |
| 21 | |
| 19 | |
| 17 |