Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I am currently trying to pull last month's total for a certain line item that has the following criteria:
-Project
-Cost Code
-Amount
Example of the columns would be:
9/1/2022 | 3704 | 250 | $10,700 |
9/1/2022 | 3704 | 280 | $7,800 |
10/1/2022 | 3704 | 250 | $11,200 |
What I would need the measure to do, is figure out the what the sum is of the earlier amount by Project & Cost Code, referencing the Month column. Mind you there are multiple Projects & an abundance of Cost Codes. So simply having it Filter just for Project 3704 & Cost Code 250 wont work. It needs to be able to find the earlier amount for each item, if there isn't an earlier amount then output 0.
Will truly appreciate any help on this, been stuck for quite some time.
"Earlier" has a different meaning in Power BI.
Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
User | Count |
---|---|
60 | |
22 | |
18 | |
18 | |
16 |
User | Count |
---|---|
86 | |
54 | |
54 | |
38 | |
21 |