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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Solved! Go to Solution.
@Anonymous
Please try following version. It's important to better understand the data model before performaing any DAX optimization.
VAR Test =
FORMAT (
COALESCE (
CALCULATE (
SUM ( Sales[Revenue] ),
KEEPFILTERS ( Sales[product_status] IN { "A", "C", "Z", "1", "" } ),
KEEPFILTERS ( Sales[Product] <> BLANK () ),
KEEPFILTERS ( Sales[Sales_Date] IN CALENDAR ( "2022-04-01", "2022-04-30" ) )
),
0
),
"general number"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
USe DAX Studio: Analyzing Performance Analyzer trace in DAX Studio - YouTube
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
Please try following version. It's important to better understand the data model before performaing any DAX optimization.
VAR Test =
FORMAT (
COALESCE (
CALCULATE (
SUM ( Sales[Revenue] ),
KEEPFILTERS ( Sales[product_status] IN { "A", "C", "Z", "1", "" } ),
KEEPFILTERS ( Sales[Product] <> BLANK () ),
KEEPFILTERS ( Sales[Sales_Date] IN CALENDAR ( "2022-04-01", "2022-04-30" ) )
),
0
),
"general number"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Fowmy Thanks for reply, This is working good, but one more thing i want cross check, what is execution time of both DAX queries, how can we check this ?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 8 | |
| 5 | |
| 3 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 12 |