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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello Dear members.
I have the following dax:
CALCULATE(
Credit'[Overdue]
,
KEEPFILTERS(
CALCULATETABLE(
TOPN(
'Top Customers'[Value],'Credit', 'Credit'[Overdue], DESC ), ALLSELECTED() )))
This is a real consuming DAX and constanty i am getting an error.
Is there any way to make it simplier and less consuming?
Thank you very much!
Hello.
Thank you very much for your suggested solution and I am so sorry for the late reply.
Unfortunately i am still getting a memory error with this measure 😞
Is there any way to make it even lighter?
Thank you again!
Hi @Dimitris_Kats ,
Have you tried what @SpartaBI mentioned?
If it works, please accept it as solution.
If not, could you share us the calculation scenario?
Reference: How to Get Your Question Answered Quickly - Microsoft Power BI Community
Best Regards,
Icey
@Dimitris_Kats
what is 'Top Customers'[Value]? a measure?
anyway try:
Measure =
CALCULATE (
[Overdue],
TOPN ( 'Top Customers'[Value], ALLSELECTED ( 'Credit' ), [Overdue], DESC )
)