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 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 November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |