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,
I need to create a custom column like below.
Logic:
if Main Num not repeated in Alternate Num and Alternate Num is not blank then it's parent else child |
Please help me to apply not null of alternate number condition in below logic
=[A=ah[Main Num],
B=ah[Alterante Num],
to=
if not list.contains(B,[Main Num]) and not null of alternate number then "Parent" else child
Solved! Go to Solution.
perhaps instead of null you will need to write two quotes ""
what type of column b is it text or numbers?
Share some data to work with (in a format the can be pasted in an MS Excel file) and show the expected result.
Hi @Ahmedx
Thanks for your help. It's the same scenario from this post. https://community.powerbi.com/t5/Desktop/Custom-Column-Creation-help/m-p/3124183#M1057680
I am looking for In first condition how to apply Alternate Num is not blank extra condition?
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
48 | |
47 |