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
Hey guys,
I appreciate the help. I want to create an expression that calculates the average price of different products filtered by a unique identifier in this case a contract number.
This is my data:
This is the expression I am working with but it is not applying the Contract filter and instead it is using the total average on the data.
Solved! Go to Solution.
Hi, @HenriqueReis Thanks for the reply. So I am using trying to view this information as a value in a matrix that was already created. I was playing with the model relationships and I fixed the issue I was having. I appreciate your help. The above expression was correct.
Hi, @HenriqueReis Thanks for the reply. So I am using trying to view this information as a value in a matrix that was already created. I was playing with the model relationships and I fixed the issue I was having. I appreciate your help. The above expression was correct.
That's great! haha
Regards!
Hi,
It's simple:
Create a measure like this:
Measure = average(All contracts advanced[price])
Then put your meassure in a card
And create a slicer and put your contract
Select just the contracts you want and then I think it's going to work
Regards!
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 |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 10 |