Forum Discussion
admin11
4 years agoMemorable Member
How to modify my expression , so that it can plot average yearly expense ?
Hi All I have below chart , which is display accumulated expense by year :- X Axis :- Year_sort Y Axis :- AMOUNT_EXP_ = CALCULATE( SUM(GL[AMT])*1, FILTER( GL, GL[1_EXP]="EXP" ) ) ...
- 4 years ago
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/ - 4 years ago
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.
Ashish_Mathur
4 years agoSuper User
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.
admin11
4 years agoMemorable Member
- Ashish_Mathur4 years agoSuper User
You are welcome. The closing bracket of the SUM function as missing. I have corrected my post.