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, I want to apply two conditions from two different table . please help with correct power bi conditional formula.
If system [trade] = exception [trade]&&System [customer code] = exception [customer code] then "Exception" orelse "No Exception"
Solved! Go to Solution.
@Anonymous , are you trying to create a new column or new measure
In the case of a new column
new column in system
if(isblank(countx(filter(system, system[trade] = exception[trade] && System[customer code] = exception[customer code]),system[trade] ) ), "No Exception" ,"Exception")
new column exception
if(isblank(countx(filter(exception, system[trade] = exception[trade] && System[customer code] = exception[customer code]),exception[trade] ) ), "No Exception" ,"Exception")
Also refer: https://www.youtube.com/watch?v=czNHt7UXIe8
@Anonymous , are you trying to create a new column or new measure
In the case of a new column
new column in system
if(isblank(countx(filter(system, system[trade] = exception[trade] && System[customer code] = exception[customer code]),system[trade] ) ), "No Exception" ,"Exception")
new column exception
if(isblank(countx(filter(exception, system[trade] = exception[trade] && System[customer code] = exception[customer code]),exception[trade] ) ), "No Exception" ,"Exception")
Also refer: https://www.youtube.com/watch?v=czNHt7UXIe8
Try this
IF(
AND(
[Condition 1] = TRUE(),
[Condition 2] = TRUE()
),
"Exception",
"No Exception"
)
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |