The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there,
I have a table with employee's name and his/her position and need to write formula to get results as it is shown in column 'Position_Full'. Lookupvalue didn't work.. Any help please?
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Position_Full CC =
VAR _currentname = 'Table'[Name]
VAR _lookuptable =
SUMMARIZE (
FILTER ( 'Table', 'Table'[Position] <> BLANK () ),
'Table'[Name],
'Table'[Position]
)
RETURN
MAXX (
FILTER ( _lookuptable, 'Table'[Name] = _currentname ),
'Table'[Position]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
It worked perfect! Thank you so much!
Hi,
Please check the below picture and the attached pbix file.
Position_Full CC =
VAR _currentname = 'Table'[Name]
VAR _lookuptable =
SUMMARIZE (
FILTER ( 'Table', 'Table'[Position] <> BLANK () ),
'Table'[Name],
'Table'[Position]
)
RETURN
MAXX (
FILTER ( _lookuptable, 'Table'[Name] = _currentname ),
'Table'[Position]
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
67 | |
36 | |
21 | |
18 | |
15 |
User | Count |
---|---|
124 | |
39 | |
30 | |
24 | |
22 |