Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Measure with filter

Hi can anyone help on my measure count

1 . Alert 3 = X

2. Progress Pref = 0

3. Progress Inst is less than 100

 

RESULT

AllanBerces_0-1762845968773.png

Job PrefabProgress Pref.Progress Inst.Alert 3
LS228700 
LP216300X
LP264000X
LP264000X
P219500X
LP219500X
LS20000100X
LS2000069.8X
LS20000100X
LS2000027.12X
LS200000X
LS218100 
LS230200X
LS222100X
LS222000X
LS219400X
1LS2217100100X
LS2017100100X
LS203410044.74X
LS203310044.74X
LS2030100100X
LS221810079.9X
LS2041100100X
LS22681000X
LS24481000X
2 ACCEPTED SOLUTIONS
rohit1991
Super User
Super User

Hi @AllanBerces 

Create the measure below and replace 'Sample Data' with the actual name of your table:

Alert3_Count = 
CALCULATE(
    COUNTROWS('Sample Data'),
    'Sample Data'[Alert 3] = "X",
    'Sample Data'[Progress Pref] = 0,
    'Sample Data'[Progress Inst] < 100
)


 Outcome: 

image.png

 

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

View solution in original post

grazitti_sapna
Super User
Super User

Hi @AllanBerces,

 

If i've understood correctly, you want to row count where all these 3 mentioned conditions are true and row count should be 12.

Kindly elaborate more if that's not the requirement.

Attached is the .pbix file with solution.

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

View solution in original post

3 REPLIES 3
grazitti_sapna
Super User
Super User

Hi @AllanBerces,

 

If i've understood correctly, you want to row count where all these 3 mentioned conditions are true and row count should be 12.

Kindly elaborate more if that's not the requirement.

Attached is the .pbix file with solution.

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

rohit1991
Super User
Super User

Hi @AllanBerces 

Create the measure below and replace 'Sample Data' with the actual name of your table:

Alert3_Count = 
CALCULATE(
    COUNTROWS('Sample Data'),
    'Sample Data'[Alert 3] = "X",
    'Sample Data'[Progress Pref] = 0,
    'Sample Data'[Progress Inst] < 100
)


 Outcome: 

image.png

 

 


Did it work? ✔ Give a Kudo • Mark as Solution – help others too!

Hi @grazitti_sapna @rohit1991 thank you very much, working as i need

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors