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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Izzati_Riza
Regular Visitor

To get qty from latest issue date based on its delivery date

Hi, PLEASE HELP ME!!!

how can i generate formula to get qty based on issue date based on its delivery date?

Untitled.jpg

 

i have done formula like below however , it also take value for 10 jan23 delivery date.

 

var latest_date=MAX('Table1'[Issue date])
return
CALCULATE(SUM('Table1'[Convert qty (kpcs)]),'Table1'[Issue date]=latest_date)

 

Untitled2.jpg

1 REPLY 1
amitchandak
Super User
Super User

@Izzati_Riza , Not very clear. But if you want both dates to respond to same date filter, you need to have a common date table and join both tables, one join will be inactive, that you can activate using userelationship

 

example

 

Power BI: HR Analytics - Employees as on Date : https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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