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.
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
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 |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |