The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi all,
How can I add a column that returns "Yes" if the following statements are true:
Please could someone advise the DAX code?
Thank you
Solved! Go to Solution.
Hi @HenryJS
try
Column = IF(
ISBLANK([CSCC]) ||
DATEDIFF(TODAY(), [CSCC], MONTH) <= 1 ||
ISBLANK([Passport]) ||
DATEDIFF(TODAY(), [Passport], MONTH) <= 1 ||
[Reference1] = "No" ||
[Reference2] = "No"
,
"Yes",
"Other"
)
Hi @HenryJS
try
Column = IF(
ISBLANK([CSCC]) ||
DATEDIFF(TODAY(), [CSCC], MONTH) <= 1 ||
ISBLANK([Passport]) ||
DATEDIFF(TODAY(), [Passport], MONTH) <= 1 ||
[Reference1] = "No" ||
[Reference2] = "No"
,
"Yes",
"Other"
)
@az38 yes!! That's perfect. Thank you - can always rely you will give the exact answer as required!!
Hope you are well.
Henry
User | Count |
---|---|
58 | |
56 | |
55 | |
50 | |
32 |
User | Count |
---|---|
172 | |
89 | |
70 | |
46 | |
45 |