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 everybody !
I want to create an if function between two tables.
In fact, if I have nothing in a specific column in my second table, my personalize column (my function) take the number 3.
I try with contain but unsuccessful.
Here is my example : Table 1
Table 2
My two tables have same rows.
Thanks
Best regards
David
Hi @DavidB023
You can simply use = or <> with LEFT() or RIGHT()
For example your date is 01/01/2018 and you want to verify if it contains 2018 type :
Column = IF(RIGHT(Table[DateColumn];4)="2018";0;3)
Hope this help
- Quentin
User | Count |
---|---|
64 | |
55 | |
53 | |
50 | |
31 |
User | Count |
---|---|
180 | |
88 | |
70 | |
46 | |
45 |