Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All, I don't know if I put this in the right forum now, but I hope you can help me.
I have a variable "Contract type" were I have all the contracts that a person can sign, four different ones. I only want to extract the latest of the two most recent "pre-contract" or "Rental agreement" for each unique person (CostumerId)
Costumer id | Contract typ | Contract date | What I wont have |
1 | pre-contract | 2020-01-01 | No |
1 | Rental agreement | 2020-02-01 | Yes |
2 | pre-contract | 2020-03-01 | Yes |
Solved! Go to Solution.
Hello @Anonymous ,
I'm sure there exist more optimize way to do that but a quick calculated column such as the following screen can do the trick.
To do so I copy paste your data source, kept your column What I want have as reference and built a new calculated column called Dax_column
Best regards,
Hello @Anonymous ,
I'm sure there exist more optimize way to do that but a quick calculated column such as the following screen can do the trick.
To do so I copy paste your data source, kept your column What I want have as reference and built a new calculated column called Dax_column
Best regards,
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
8 |