Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don'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.

Reply
Greg0ry
Helper I
Helper I

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
LeandroDeodato
Resolver II
Resolver II

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.

View solution in original post

5 REPLIES 5
LeandroDeodato
Resolver II
Resolver II

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.

Thanks, I will try!

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.

LeandroDeodato
Resolver II
Resolver II

average(CA N with discount) dont work?

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

Greg0ry_0-1721312990952.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.