Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 5 | |
| 4 | |
| 4 |