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
Hello,
Hoping sopmeone can help me average a total.
I am trying to average the "AvgDailyChg" row. I would greatly appreciate a solution to this problem!
I dont know if this will help, but I was given this formula from @Icey, but I do not know how to plug in my Fields or measures with the formula that I was given. And I am not even suire if this forula will work, fyi.
Measure =
IF (
NOT ( HASONEVALUE ( 'Table'[YearMonth] ) )
&& SELECTEDVALUE ( 'Table'[Product] ) IN { "B", "C" },
AVERAGE ( 'Table'[Value] ),
SUM ( 'Table'[Value] )
)Here are the fields I have for the dataset I am working with.
@jonnyA ,
Not clear,
if you help with more detail and a sample of it. I wiil try to help you out.
Regards,
Manikumar
Proud to be a Super User!
Thank you in advance for your help!
I think I am getting closer to my answer using the formula below. I am trying to average the Total. As you can see from the screen shot the Total is summing the 3 months.
Here is the formula I am currently using ...
Measure =
IF (
(
NOT ( HASONEVALUE ( 'Table'[YearMonth] ) )
&& SELECTEDVALUE ( 'Table'[Product] ) IN { "B", "C" }
)
|| (
NOT ( HASONEVALUE ( 'Table'[YearMonth] ) )
&& NOT ( HASONEVALUE ( 'Table'[Product] ) )
),
AVERAGE ( 'Table'[Value] ),
SUM ( 'Table'[Value] )
)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 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 29 | |
| 21 | |
| 12 | |
| 12 |