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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello folks, I'm trying to calculate the delta between two dates, I'm sending the The File .
Is there a better way to do it? Can anyone help?
Thanks!
Solved! Go to Solution.
You need to disconnect your date tables, and use USERELATIONSHIP()
see attached
Inbetween = CALCULATE(sum('Fact'[Sales]),DATESBETWEEN('Fact'[Date],min(CalendarFact[Date]),max(CalendarFactDest[Date])))
Amazing, I wish someday I'll be just as good!
Delta in what currency? Days? Months? Years?
I'd like to see the result for this calculation
Just as curiosity, do you think we can have the comulative sum between selected months? 🙂
Inbetween = CALCULATE(sum('Fact'[Sales]),DATESBETWEEN('Fact'[Date],min(CalendarFact[Date]),max(CalendarFactDest[Date])))
Hello there, its me again, would you know how can I set a green color font whenever the value is higher than or equal to 1? Keeping the red rule. Thanks!
You would add a second rule from 0 to max.
Nice, thanks!
Awesome!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 22 | |
| 21 | |
| 20 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 36 | |
| 30 | |
| 26 |