This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi ,
I am new to PowerBI. I have a question related to filters. I want to calulate the count of Id's only if my Status column has 'Failed' as its value. If 'Failed' value is not flowing into the report, I need to show '0' else count(Id). Any help is much appreciated. Thanks in advance
--Jyothi Sree
Solved! Go to Solution.
@Anonymous , Try a measure like
calculate(count(Table[Id]), filter(Table, Table[Status] ="Failed"))
or in your existing measure add +0
example
count(Table[Id]) +0
@Anonymous , Try a measure like
calculate(count(Table[Id]), filter(Table, Table[Status] ="Failed"))
or in your existing measure add +0
example
count(Table[Id]) +0
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 23 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 24 | |
| 22 | |
| 22 |