Join 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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi All,
I am trying to calculate count of rows from Table1, filtering from collumn1 value = duplicate, and collumn 2 value = 40
How can I create a measure for the above?
Any help would be great!!
"I am a screen reader user"
Solved! Go to Solution.
Hi @PB10 ,
How about this?
CALCULATE(
COUNTROWS(table1),
table1[col1] = "duplicate",
table1[col2] = 40
)
Does this work for you? Let me know 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
oops let me try again I might have got my error
Hi @PB10 ,
How about this?
CALCULATE(
COUNTROWS(table1),
table1[col1] = "duplicate",
table1[col2] = 40
)
Does this work for you? Let me know 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
| Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
| Also happily accepting Kudos 🙂 |
| Feel free to connect with me on LinkedIn! | |
| #proudtobeasuperuser | |
Hi @tackytechtom thanks for this...
I am getting this error
I checked both collumns are datatype = whole numbers ... what might be something I can fix?
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 13 | |
| 11 | |
| 11 | |
| 8 | |
| 6 |