Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
hi
in the below example Matri table, I want the avg range between 5 to 45. please suggest the formula.
in the below example it includes all column data & generates Avg.
Another example is given below
| 1 | 13 | 13 |
| 2 | 15 | 15 |
| 3 | 21 | 21 |
| 4 | 21 | 21 |
| 5 | 28 | 28 |
| 6 | 48 | |
| 7 | 93 | |
| Avg | 34 | 19.6 |
Regards,
Sameer
Solved! Go to Solution.
Hi, @sameergupta60
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Result =
IF(
ISINSCOPE('Table'[Category]),
SUM('Table'[Val]),
AVERAGE('Table'[Val])
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @sameergupta60
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Result =
IF(
ISINSCOPE('Table'[Category]),
SUM('Table'[Val]),
AVERAGE('Table'[Val])
)
Result:
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@sameergupta60 , Try like
averageX(filter(table, table[value]>= 5 && table[value]<= 45),table[Value])
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 120 | |
| 38 | |
| 36 | |
| 29 |