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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi all,
I have this measure using TREATAS to calculate on a different date column. The problem is that it is beyond slow.
It slows down the whole report.
Are there any alternatives to TREATAS for this purpose that is more efficient?
Please note that the [Received All %] measure works brilliantly and cannot be changed.
CALCULATE(
[Received All %],
TREATAS(
VALUES(
'Dim - RequiredDate'[Date]
),
'Dim - PromisedDate'[Date]
)
)
Many thanks in advance!
Hi @mrclay82
the alternative is usually INTERSECT function or IN operator but that wouldn't improve the performance significantly. In order to optimize your code you need to provide more context and more details about your data model and the measure being calculated perhaps we can find a totally different approach.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.