Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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.
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
16 | |
14 | |
11 | |
9 |