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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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?
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 12 | |
| 12 | |
| 10 | |
| 6 | |
| 5 |