The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
I created column with measure below for comparing two others columns:
Valid mails check = IF(EXACT('DATA1'[Mails], 'DATA2'[Mails]),1,0)
DATA1Mails | DATA2Mails | Valid mails check |
user1@mail.com | user1@mail.com | 1 |
user2@mail.com | user3@mail.com | 0 |
user5@mail.com | user5@mail.com | 1 |
blank | blank | 1 |
The problem is that it also compares blank rows from both columns DATA1 and DATA2 and shows them as "1".
How can I exclude it and force to show "0" for exact blank values?
Best regards,
Patrick
Solved! Go to Solution.
excude blanks in the filter level or give a condition in dax for not to comoare blanks, else if blank matches with blank then make it 0. It has to written in dax.
if(not(blank(DATA1'[Mails]),
IF(EXACT('DATA1'[Mails], 'DATA2'[Mails]),1,0)
,0)
Hope this clears your query, kindly mark it as solution
excude blanks in the filter level or give a condition in dax for not to comoare blanks, else if blank matches with blank then make it 0. It has to written in dax.
if(not(blank(DATA1'[Mails]),
IF(EXACT('DATA1'[Mails], 'DATA2'[Mails]),1,0)
,0)
Hope this clears your query, kindly mark it as solution
Thank You so much! Great help 🙂
Have a realy good day
Best Regards,
Patrick
@saravanan_p Perfect, well explained.
@Koliberus hence the solution, mark it so that users help the community
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
18 | |
18 | |
17 | |
15 | |
13 |
User | Count |
---|---|
36 | |
35 | |
19 | |
18 | |
18 |