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 all,
I have a dataset that consists of a list of contracts, each of which has one of the following statuses: Active, Inactive, Inactive (Stalled), Inactive (Expired), Inactive (Pursuit).
In PBI Desktop, I've created a matrix visual and picked the relevant fields from the dataset. I have a total of 67 contracts and all of them are appearing with the appropriate information. However, I wish to show only the contracts that have either Active or Inactive status.
I have a measure to calculate these contracts which number to 59. So i wish to show only these 59 contracts in the matrix visual. Any ideas on how to do this?
I'm fairly new to PBI so any help is appreciated, thanks 🙂
Solved! Go to Solution.
@akemr , if you have only that measure if will filter .
measure = calculate(count(contracts[ID]), filter(contracts, contracts[Status] in {"Active","Inactive"}))
But other measures without those filters can show more data. So you can use a slicer to filter data or visual level filter to filter status = active and inactive
@akemr , if you have only that measure if will filter .
measure = calculate(count(contracts[ID]), filter(contracts, contracts[Status] in {"Active","Inactive"}))
But other measures without those filters can show more data. So you can use a slicer to filter data or visual level filter to filter status = active and inactive
Thanks @amitchandak , I used a slicer visual to filter them and then hid the slicer visual as this is a permanent change.
Check out the April 2026 Power BI update to learn about new features.
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 |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 39 | |
| 33 | |
| 24 | |
| 23 |