Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
30 | |
19 | |
12 | |
7 | |
5 |