Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello, can someone help me with measure. Why is it so slow?
VAR maxdate =
CALCULATE ( MAX ( 'Fact'[Date] ), 'Fact'[type] = "KASA" )
VAR result =
CALCULATE ([Amount],
KEEPFILTERS ( 'Fact'[type] = "KASA" ),
KEEPFILTERS ( Date[Date] = maxdate ))
RETURN
result
@serapinasnovian , seems fine at first look.
Try this small variation
VAR maxdate =
CALCULATE ( MAX ( 'Fact'[Date] ), filter('Fact','Fact'[type] = "KASA" ))
VAR result =
CALCULATE ([Amount],
FILTERS ( 'Fact', 'Fact'[type] = "KASA" ),
FILTERS ( Date, Date[Date] = maxdate ))
RETURN
result
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 11 | |
| 8 | |
| 8 | |
| 8 |