Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi All,
I have several measures that are similar to this format:
CALCULATE(
DISTINCTCOUNT(PRODUCT[Product_ID]),
FILTER(
SALES,
SALES[Revenue]>100 &&
RELATED(PRODUCT[Product_Color])="Red"
)
)
In this case, Product is the one-side of the table and Sales is the many side of the table. Some other conditions:
1. the filters can have more && and || operator.
2. comparing values of different columns instead of given value (e.g. "Red", 100 in the example above).
The issue I am having is it takes forever to calculate the measure when I display it in table format, drilled down to each Product_Id in this case. the total data points is in ~100,000. I am using Azure AS and it is still running our of memory from time to time due to these measures. Wondering if there is a better way to optimize it? Thank you in advance!!
Solved! Go to Solution.
Found a solution!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
42 | |
31 | |
27 | |
27 |