Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good morning.
I'm left with a bit of a problem. I'm trying to track status changes each month in the delinquency status of loans. The work that i'm trying to build off of was created in mosaic by someone else and passed off to me to create in PBI.
I have fields for snapshot dates that are always at the end of the month, the status of the loan, a binary field for if its the current month, and a count based on how far back the snapshot date is from the current month. I honestly have no idea how to begin to write the Dax for this and any help would be greatly appreciated.
snapshot_date | loan_number | delinquency_status | months_back | is_current_month |
7/31/2019 | 1111111221 | current | 0 | 1 |
6/30/2019 | 1111111221 | 30 days | 1 | 0 |
5/31/2019 | 1111111221 | 60 days | 2 | 0 |
Solved! Go to Solution.
Hi @Anonymous
I cannot fully understand it.Please explain more about your expected output.Please follow the How to Get Your Question Answered Quickly to post your simplified assumed data and expected output.It would be better if you can upload the .pbix file to OneDrive and post the link here.
Regards,
I can't post the dataset.
I'm creating a column for each of the default groupings. Theoretically, each of these columns will compare the loan number to the one in the row above it. If the loan number changes, it marks it. If it doesn't change, it then should evaluate if Current row's status is different from the status of the row above it. I'm trying to use earlier.... but i haven't been able to crack it yet. I get an error that EARLIER refers to an earlier row context which doesn't exist. This is my code at the moment.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |