Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi,
I have a surprising performance issue in DAX.
I have a slow measure that I use to calculate future expiry of product per month(based on current stock by expiry month and sales forecast). This measure takes about 10 seconds to be calculated for the next 24 months. For many "Product-Future Month", this measure is not required as no product are expirying on the specific month.
I therefore tried to put some IF statement in the measure to prevent this slow measure to run if no stock is expirying in the context month.
My measure is of that type:
"optimized measure" = IF("test measure"=0,0,"slow measure")
According to the performance I noticed, even if "test measure"=0, PowerBI is still calculating the slow measure! As I only need to calculate "slow measure" for 5% of my data, it's a significant loss of performance...
Would anyone be aware of this issue and have idea how to work around it?
Thanks!
Julien
Solved! Go to Solution.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 120 | |
| 38 | |
| 36 | |
| 29 |