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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!