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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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 |
---|---|
10 | |
8 | |
5 | |
5 | |
4 |