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 dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi guys,
I wan't to create the last column 'extracolumn' by creating a measure using DAX. The column is a copy of name when the boolean value is true grouped by someidentification.
Help is appreciated!
id someidentification boolean name extracolumn
1 100 true test1 test1
2 100 false test2 test1
3 100 false test3 test1
4 200 true test4 test4
5 200 false test5 test4
Solved! Go to Solution.
Hey @Anonymous ,
Give this a try:
extracolumn =
VAR some = 'Table'[someidentification ]
RETURN
LOOKUPVALUE (
'Table'[name],
'Table'[boolean], "TRUE",
'Table'[someidentification ], some
)
Proud to be a Super User!
Hey @Anonymous ,
Give this a try:
extracolumn =
VAR some = 'Table'[someidentification ]
RETURN
LOOKUPVALUE (
'Table'[name],
'Table'[boolean], "TRUE",
'Table'[someidentification ], some
)
Proud to be a Super User!
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |