cancel
Showing results for
Did you mean:

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Regular Visitor

## Average

Hello, I want to calculate an average of a column after modifying it with a multiplication.

This means that I want to calculate the average of:

CA N with discount = [CA N]-[Discount 1]-[Discount 2]

For your information, here are the previous steps which:

Discount 1 = SUM(Account[CA])*0.35

Discount 2 = [Discount 1]*0.1

CA N with discount = [CA N]-[Discount 1]-[Discount 2]

Can you help me?

THANKS!

Gregory

1 ACCEPTED SOLUTION
Resolver I

try declare var with this mensure [CA N]-[Discount 1]-[Discount 2] and return average var,

or change your mensure to a custom column, and use this column in average.

5 REPLIES 5
Resolver I

try declare var with this mensure [CA N]-[Discount 1]-[Discount 2] and return average var,

or change your mensure to a custom column, and use this column in average.

Regular Visitor

Thanks, I will try!

Community Support

Hi @Greg0ry  ,

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Resolver I

average(CA N with discount) dont work?

Regular Visitor

No, I got the message: AVERAGE function only accepts a column reference as an argument

Announcements

#### Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.