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 August 31st. Request your voucher.
Hi there,
I would like to create a New Column using a calculation but skipping over in the rows that contain blanks.
ie.
New Column = Column 2 - Column 1
In Column 2 there are blanks.
I'd like the equation to not apply to the rows with blanks in coloum 2.
Thank you
NewColumn = IF(NOT(ISBLANK(column2)), column2 - column1)
Use an IF statement with ISBLANK
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
10 | |
7 |