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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Syk
Super User
Super User

Using Dates for specific customers

Hello! I currently have this measure..

measure = CALCULATE([Digital Sales %],  DATESBETWEEN('Accounting Date'[Dates],MIN('Accounting Date'[Dates]),MAX(Issues[Go Live Date])))


I have chart to look at this measure and noticed that even though each customer has a particular go live date, it is always getting the latest date. (for every customer it uses customer A's date since its the latest)

Syk_1-1649189363035.png

 

How can I force my measure to look at the go live date that corresponds to the customer? Relationship between go live and customer below joined on a customer key.


Syk_0-1649189236234.png

 

3 REPLIES 3
tamerj1
Super User
Super User

Hi @Syk 

I suppose you are slicing by "Customers" from 'Ship to Cutomer' table. If the Customer name is not available in the issues table you can add it to table visual as a measure

Go-Live Date =
CALCULATE (
    SELECTEDVALUE ( Issues[Go Live Date] ),
    CROSSFILTER ( 'Ship to Customer'[Customer Key], Issues[Customer Key], BOTH )
)

 

While this works for a table, it throws memory errors when I try to use it in my charts.

Can you please share a smaple file?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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