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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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 ?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 6 | |
| 5 |