Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a DAX function IF(AND that I am expecting to return a true value but it's returning false and I am not sure what I am doing wrong. When there are multiple selections I am expecting it to return "Multiple Selections" but it's returning the department names rather.
Selection Results = IF(AND(Departments[Department]= "Finance", Departments[Department]= "Human Resources"), "Multiple Selections", Departments[Department])
Thank you in advance
Solved! Go to Solution.
@lmundia Try this Measure...
Selection Results = IF ( HASONEVALUE (Departments[Department]), VALUES(Departments[Department]), "Multiple Selections")
@lmundia Try this Measure...
Selection Results = IF ( HASONEVALUE (Departments[Department]), VALUES(Departments[Department]), "Multiple Selections")
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 |
---|---|
84 | |
76 | |
73 | |
42 | |
36 |
User | Count |
---|---|
109 | |
56 | |
52 | |
48 | |
43 |