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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.