Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
mahenkj2
Solution Sage
Solution Sage

DAX measure slower when adding field from another table

I have situation in which four tables namely A,B,C,D are connected this way:

mahenkj2_1-1716197092467.png

 

I need to create a measure to calculate Overdue status, if [LatestDeliveryDate] in table D for each salesOrderItemID is high, equal or lower than today.

 May be as below:

 

OverdueMeasure = 
VAR LatestDeliveryDate = MAX(D[LatestDeliveryDate])
RETURN
IF(
    LatestDeliveryDate < TODAY(), 
    "Overdue", 
    "Not yet"
)

 

 

As soon as I add fields from table A with this measure, visual becomes slower and never see measure calculated in the visual. Without table A, it works fine. What changes I need to do in this measure, pls suggest.

1 REPLY 1
Sergii24
Super User
Super User

Hi @mahenkj2, I believe there might be too many reasons for such behavior, so without semantic model and sample pbix it's gonna be difficult to give you a single advice that works.

From what I see in your model I suppose tables C and D (or at least one of them) to be dimensional table of SalesOrder. If so, my following question would be: how often you update your report? Once a day? If so, I'd define Overdue status in PowerQuery (considering that you check the date with today, even multiple refreshes on the day will not change this value). That will allow you to use this column  in other measures and even add it as a filter (as I expect one of your following tasks to be to "show" those orders in delay. So you can use this column as a filter instead of using measure on viasual level filters).

Let me know if it works for you and good luck!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.