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
I have written this DAX query but it takes quite a long time to render, is there anyway I can refactor this to return the result on the card visual faster?
postVPP =
VAR currentMonth = DATE(YEAR(today()), month(today()), 1)
RETURN
COALESCE (
CALCULATE (
DIVIDE ( [sumOfVendor], [Total Partners], 0 ),
USERELATIONSHIP ( 'Channel Table'[partner_key], fact_transaction_monthly[transaction_monthly_partner_key] ),
fact_transaction_monthly[transaction_monthly_charge_created_date] >= currentMonth
),
0
Solved! Go to Solution.
Hi, @Anonymous
I don't think this part can be further optimized.
This code is clear, understandable and maintainable enough.
You may need to check your current data model and other referenced mesures.
Best Regards,
Community Support Team _ Easo
Hi, @Anonymous
I don't think this part can be further optimized.
This code is clear, understandable and maintainable enough.
You may need to check your current data model and other referenced mesures.
Best Regards,
Community Support Team _ Easo
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 |
|---|---|
| 62 | |
| 55 | |
| 39 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 93 | |
| 85 | |
| 33 | |
| 31 | |
| 25 |