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, @mdbuzzer15
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, @mdbuzzer15
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
Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.
Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!
Join the biggest FREE Business Applications Event in LATAM this February.
User | Count |
---|---|
216 | |
57 | |
49 | |
46 | |
45 |
User | Count |
---|---|
267 | |
211 | |
113 | |
82 | |
71 |