Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello everyone
I have a simple measure that calculates the average:
Solved! Go to Solution.
Hi @pedroccamaraDBI ,
According to your statement, I think [Net Cost Detail AVG] is a measure, so it will work when you add it into a visual. The result of measure is based on the key columns in your visual, so I suggest you to try SUMX() function based on [Net Cost Detail AVG].
New Net Cost Detail AVG =
SUMX (
SUMMARIZE ( 'TableName', [KeyColumnName1], [KeyColumnName2],... ),
[Net Cost Detail AVG]
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @pedroccamaraDBI ,
According to your statement, I think [Net Cost Detail AVG] is a measure, so it will work when you add it into a visual. The result of measure is based on the key columns in your visual, so I suggest you to try SUMX() function based on [Net Cost Detail AVG].
New Net Cost Detail AVG =
SUMX (
SUMMARIZE ( 'TableName', [KeyColumnName1], [KeyColumnName2],... ),
[Net Cost Detail AVG]
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I'm so sorry for this (very) late reply and thank you so much for your help
that depends on the visual itself i.e. over which column are you calculating the the average? Can you paste a screenshot?
Hi @pedroccamaraDBI,
Try this - SUMX('Product Cost Detail', AVERAGE('Product Cost Detail'[Net Cost Detail]))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |