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
Dear Contributors,
Please help me to adjust the Calculated Column formula, so that the outcome was the same as the Measure.
Note, that for Calculated Column a Base value (Resources Needs) is not summarized by date, opposed to the Measure.
Difference Column = 'Resources Needs'[Resources Needs]-CALCULATE(MAX('Resources Needs'[Resources Needs]);FILTER('Resources Needs';'Resources Needs'[Project]=EARLIER('Resources Needs'[Project])&&'Resources Needs'[Position]=EARLIER('Resources Needs'[Position])&&'Resources Needs'[Recruitment Status]=EARLIER('Resources Needs'[Recruitment Status])&&'Resources Needs'[Date]<EARLIER('Resources Needs'[Date])))
Difference Measure = SUM('Resources Needs'[Resources Needs])-CALCULATE(SUM('Resources Needs'[Resources Needs]);PARALLELPERIOD('Resources Needs'[Date];-1;MONTH))
Pbix file is available here
Best regards,
Anna
Solved! Go to Solution.
I doubt that MIN, as well as MAX is correct for my case:
Basically I need (Sum [Resources Needs] within a Month) - (Sum [Resources Needs] within a Previous Month), but in this case how to deal with the result:
I guess where I was going with that is that you appear to have multiple matching rows so you either need to have better filters or you are going to need a different aggregation like AVERAGE or something.
What happens if you substitute MIN for MAX in your column formula?
I doubt that MIN, as well as MAX is correct for my case:
Basically I need (Sum [Resources Needs] within a Month) - (Sum [Resources Needs] within a Previous Month), but in this case how to deal with the result:
I guess where I was going with that is that you appear to have multiple matching rows so you either need to have better filters or you are going to need a different aggregation like AVERAGE or something.
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 |
|---|---|
| 49 | |
| 44 | |
| 42 | |
| 39 | |
| 32 |