Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All
I have below chart , which is display accumulated expense by year :-
X Axis :-
Year_sort
Y Axis :-
My question is how to modify the expression , so that it will return average yearly expense ?
Paul
Solved! Go to Solution.
Hi @admin11
Can you share a sample of you data in a text format,
BTW, Try this on the same chart:
AMOUNT_EXP_ =
CALCULATE ( AVERAGE( GL[AMT] ) * 1, FILTER ( GL, GL[1_EXP] = "EXP" ) )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi,
You can simplify your measure to this
AMOUNT_EXP_ = CALCULATE(SUM(GL[AMT]),GL[1_EXP]="EXP")
Please show the expected result in a simple table format and share the download link of your PBI file.
Hi,
You can simplify your measure to this
AMOUNT_EXP_ = CALCULATE(SUM(GL[AMT]),GL[1_EXP]="EXP")
Please show the expected result in a simple table format and share the download link of your PBI file.
You are welcome. The closing bracket of the SUM function as missing. I have corrected my post.
Hi @admin11
Can you share a sample of you data in a text format,
BTW, Try this on the same chart:
AMOUNT_EXP_ =
CALCULATE ( AVERAGE( GL[AMT] ) * 1, FILTER ( GL, GL[1_EXP] = "EXP" ) )
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
31 | |
27 |
User | Count |
---|---|
92 | |
50 | |
44 | |
40 | |
35 |