整数的 MS Access 百分比转换

MS Access Percentage conversion from Integer

在我的 Access 数据库中,我已将整数值转换为百分比,但百分比不等于 100%。 Access 上是否有任何方法可以让我显示加起来为 100% 的百分比值?

这是我的查询,它有两个字段,分别是 60% 和 20%。

the percentage of the good response => ([Good_Responses]/([Good_Responses])+[Bad_Responses])*100

And the percentage of the bad response => ([Bad_Responses]/([Good_Responses])+[Bad_Responses])*100

假设您有大约 30 次点击,其中 12 次好,其余 18 次不好。

(12/30) *100 = 40

(18/30) *100 = 60

这将弥补您正在寻找的总数的 100%。 我希望这就是您要找的。

编辑

刚刚重现了这种情况,它运行良好。 首先获取两个字段的 sum 并从结果查询中创建一个查询,该查询将使用上面的公式计算百分比。我已经添加了屏幕截图。