Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I have two tables REFERENCE and CALL I want to add a conditional column to the table CALL with True and False based on three conditions. 2 of the conditions are in table CALLand 1 in TABLE REFERENCE.
The conditions are If the value of the field Nr. of work = 1 and the value of the field Nr of order = 1 and the field reference point in table REFERENCE = 70 then the value should be true and else FALSE
How can I do this?
Thanx in advance
example table
HI @YoussefN,
You can try to use below measure:
result = VAR _no = MAX ( tableCall[Order No.] ) VAR _work = MAX ( tableCall[Nr. of work] ) VAR _order = MAX ( tableCall[Nr of order] ) VAR related_point = LOOKUPVALUE ( TableReference[Reference point], TableReference[Oder No.], _no ) + 0 RETURN IF ( related_point = 70 && _work = 1 && _order = 1, TRUE (), FALSE () )
Regards,
Xiaoxin Sheng
Have a look at the LOOKUPVALUE function or RELATED or RELATEDTABLE.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
79 | |
59 | |
36 | |
33 |
User | Count |
---|---|
92 | |
59 | |
59 | |
49 | |
41 |