Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |