Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Power bi experts,
I need to find out Termination date in below table,i have 3 records (i.e Action Type - D1, EE,ES this are employees last date )
i need these three data in the separate Termination Column, could you please suggest a calculated column and also need to aplly filter Action Type {"D1", "EE","ES"}
my output will like
Solved! Go to Solution.
Please try
Termination Date =
VAR CurrentDate = TableName[Action Date]
VAR TerminationDate =
CALCULATE (
MAX ( TableName[Action Date] ),
ALLEXCEPT ( TableName, TableName[Emp.No] ),
TableName[Action Type] IN { "D1", "EE", "ES" }
)
RETURN
IF ( CurrentDate = TerminationDate, TerminationDate )
Please try
Termination Date =
VAR CurrentDate = TableName[Action Date]
VAR TerminationDate =
CALCULATE (
MAX ( TableName[Action Date] ),
ALLEXCEPT ( TableName, TableName[Emp.No] ),
TableName[Action Type] IN { "D1", "EE", "ES" }
)
RETURN
IF ( CurrentDate = TerminationDate, TerminationDate )
@MahamoodBi
Seems you have two fact tables. Please provide details about yuor data model and relationships.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
42 | |
21 | |
21 | |
14 | |
14 |
User | Count |
---|---|
43 | |
39 | |
33 | |
18 | |
17 |