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.
I need to create a condition so that if the value in column "A" is the same as in column "D" even if it is not in the same row, add a new column with a name that I determine.
Which DAX to do this?
Just put "CLONE NVL" in place of the 1 inside the IF. Also, if you don't want to see the 0, you can replace that with other text or just BLANK().
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@douglasgomez , A new column like this will give you 1 if A is found in D
if(isblank(countx(filter(Table,[A] = earlier([D])),[A])),0,1)
And how do I get the word "CLONE NVL" instead of "1" on the line?
User | Count |
---|---|
25 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
25 | |
12 | |
11 | |
10 | |
6 |