This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I am really struggling with finding a measure between two dates (Modified date file), see the below.
Solved! Go to Solution.
You may refer to the measure below.
Measure =
VAR m1 =
MIN ( 'Tabe 1 Date'[Date modified] )
VAR m2 =
MAX ( 'Tabe 1 Date'[Date modified] )
RETURN
CALCULATE ( SUM ( 'Table 1'[Nights] ), 'Tabe 1 Date'[Date modified] = m2 )
- CALCULATE ( SUM ( 'Table 1'[Nights] ), 'Tabe 1 Date'[Date modified] = m1 )
You may refer to the measure below.
Measure =
VAR m1 =
MIN ( 'Tabe 1 Date'[Date modified] )
VAR m2 =
MAX ( 'Tabe 1 Date'[Date modified] )
RETURN
CALCULATE ( SUM ( 'Table 1'[Nights] ), 'Tabe 1 Date'[Date modified] = m2 )
- CALCULATE ( SUM ( 'Table 1'[Nights] ), 'Tabe 1 Date'[Date modified] = m1 )
Excellent ----- Its works perfect
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 28 | |
| 23 | |
| 22 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 28 | |
| 22 | |
| 22 |