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 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 43 | |
| 38 | |
| 32 |