Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I have a measure under the measure table so there are no columns. KCS = CALCULATE([Colleague Cicks]+ [Colleague Searches]*2 + [Article Attachements]*3). Further, [Colleague Cicks], [Colleague Searches], and [Article Attachements] are all measures as well.
I need to get an average for the KCS measure. I have achieved an average count for KCS
This is the formula used in excel to achieve the percentile for KCS =IFERROR(ROUND(([@AvgCount]/SUMPRODUCT(AVERAGEIFS([AvgCount],[Product],[@Product],[AvgCount],">0",[AvgCount],"<>")))*100,0),"")
I need to the same in Power BI, I used the below measures but the output numbers are different then excel.
First, Calculate the Average of `AvgCount` for Each Product
Average Per Product =
CALCULATE(
AVERAGE([Avg Count KCS]),
FILTER(
'YourTable',
[Avg Count KCS] > 0 && [Product] = EARLIER([Product])
)
)
Then, Calculate the Percentile
Percentile KCS =
IFERROR(
ROUND(
DIVIDE(
[Avg Count KCS],
[Average Per Product]
) * 100,
0
),
BLANK()
)
Proud to be a Super User!
Thank you for your response Avg Count KCS is a measure so when we use the Average function AVERAGE([Avg Count KCS]) it requires a column...basically all of the above are measures and not column
Hi @saud968 ,
Please update the formula of your measures as below and check if they can return the expected result...
KCS Average =
AVERAGEX(
ALL('Colleague Events'),
-[Colleague Cicks] + [Colleague Searches] * 2 + [Article Attachements] * 3
)
P KCS =
CALCULATE(
DIVIDE([KCS Average], [Avg Count KCS]) * 100,
ALL('Colleague Events')
)
If the above one can't help you get the expected result, please provide some raw data in your tables (exclude sensitive data) with Text format, your matrix Fields settings and your expected result with special examples and screenshots based on your shared sample data. It would be helpful to find out the solution. You can refer the following link to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
The above did not help I will try to see if I can get the raw data it might difficult but I will try
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 |
---|---|
76 | |
76 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |