Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello together, maybe an expert can help me?
Whats wrong in this code:
Solved! Go to Solution.
@Tober1996 , This should be like
Result = IF((Table1[Site]="Memphis" || Table1[Site]="York") && (Table1[EndDate])<Date(2021,1,1), 0,Table1[Benefit1]+Table1[Benefit2])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hello amichandak, thanks for your help. It's the same as my first version. I don't know why it works now. Most of the time, the fault is in front of the device.
Thanks again!
@Tober1996 , This should be like
Result = IF((Table1[Site]="Memphis" || Table1[Site]="York") && (Table1[EndDate])<Date(2021,1,1), 0,Table1[Benefit1]+Table1[Benefit2])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 23 | |
| 23 | |
| 14 |
| User | Count |
|---|---|
| 47 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |