Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi all, I am trying a measure that calculates % of valid emails. I have the column filtered in power query and outputs "Not Valid" when email does not meet a certain criteria.
Solved! Go to Solution.
@abeirne hey, try this:
% Valid Emails =
VAR Valid =
CALCULATE(
COUNT(Invoice_Tb[Customer Email (Clean)]),
Invoice_Tb[Customer Email (Clean)] <> "Not Valid"
)
VAR PercentDiv =
DIVIDE(
COUNT(Invoice_Tb[Customer Email (Clean)]),
Valid
)
RETURN
PercentDiv * 100
In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂
@abeirne hey, try this:
% Valid Emails =
VAR Valid =
CALCULATE(
COUNT(Invoice_Tb[Customer Email (Clean)]),
Invoice_Tb[Customer Email (Clean)] <> "Not Valid"
)
VAR PercentDiv =
DIVIDE(
COUNT(Invoice_Tb[Customer Email (Clean)]),
Valid
)
RETURN
PercentDiv * 100
In case it answered your question please mark this as a solution for community visibility. Appreciate Your Kudos 🙂
Thanks! My divide was also backwards but the measure is working now 🙂
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
13 | |
11 | |
8 | |
8 | |
8 |