This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 22 | |
| 20 | |
| 20 |