Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
Solved! Go to Solution.
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.
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 @Anonymous ,
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.
average(CA N with discount) dont work?
No, I got the message: AVERAGE function only accepts a column reference as an argument
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 30 | |
| 23 |