Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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 @v-rzhou-msft
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]))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |