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.
i wanted to create a simple formula either measure or Column
Filter Scope
IF assignment date = 2022/09/19 = Then "Existing emp Initial launch"
If assignment date > date 2022,9,19 = " Role change "
Else assignment date <= hire date = "New Hire"
i had some help from Data engineers who helped me with this using switch but that too advance to understand and i want to learn its simple way can you please help
Solved! Go to Solution.
Hi @Anonymous
You can add a new column with below code
New Column =
IF (
'DataTable'[assignment date] = DATE ( 2022, 9, 19 ),
"Existing emp Initial launch",
IF (
'DataTable'[assignment date] > DATE ( 2022, 9, 19 ),
"Role change",
IF ( 'DataTable'[assignment date] <= 'DataTable'[hire date], "New Hire" )
)
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
Hi @Anonymous
You can add a new column with below code
New Column =
IF (
'DataTable'[assignment date] = DATE ( 2022, 9, 19 ),
"Existing emp Initial launch",
IF (
'DataTable'[assignment date] > DATE ( 2022, 9, 19 ),
"Role change",
IF ( 'DataTable'[assignment date] <= 'DataTable'[hire date], "New Hire" )
)
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it. Highly appreciate your Kudos!
Scope = IF(assignment date = 2022/09/19 , "Existing emp Initial launch",
IF(assignment date > 2022/09/19, "Role change",
IF(assignment date <= hire date, "New Hire")))
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 |
---|---|
113 | |
103 | |
76 | |
66 | |
63 |
User | Count |
---|---|
142 | |
105 | |
102 | |
81 | |
68 |