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, I have a question about an nested if statement and I couldn't find an answer anywhere.
I have the following two columns
Column1 | Column2 |
2 | 22 |
blank | 9 |
4 | 11 |
blank | blank |
6 | 34 |
1 | blank |
24 | 55 |
blank | 124 |
I would like to create a new column using DAX as follows : IF column 1 is blank take the value from column 2 if column 2 is blank then take the value from column 1 and if both columns are blank leave it as blank.
Been trying to find a solution for a few hours now and can't figure it out.
Any help much appreciated.
Solved! Go to Solution.
User | Count |
---|---|
15 | |
12 | |
7 | |
6 | |
5 |
User | Count |
---|---|
24 | |
20 | |
12 | |
9 | |
7 |