Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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]
)
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]
)
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |