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.
Using 3 columns (Date, Name, This year asset), what DAX via "New column" (not via "New measure") would give me last year asset exactly as below? Please assume that 3 columns (Date, Name, This year asset) are all 'columns' too (not 'measures').
I want a New column named "Last year asset":
Last year asset = ?
Date | Name | This year asset | Last year asset |
7/10/2023 | Paul | $134 | $897 |
7/10/2022 | Paul | $897 | $965 |
7/10/2021 | Paul | $965 | n/a |
4/13/2021 | Tony | $322 | $468 |
4/13/2020 | Tony | $468 | n/a |
2/26/2024 | Christine | $230 | $763 |
2/26/2023 | Christine | $763 | $797 |
2/26/2022 | Christine | $797 | $865 |
2/26/2021 | Christine | $865 | n/a |
6/19/2023 | Bella | $983 | $142 |
6/19/2022 | Bella | $142 | $337 |
6/19/2021 | Bella | $337 | $47 |
6/19/2020 | Bella | $47 | n/a |
Solved! Go to Solution.
hello @junding9
please check if this accomodate your need.
Create a calculated column with following DAX:
Hope this will help you.
Thank you.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
hello @junding9
please check if this accomodate your need.
Create a calculated column with following DAX:
Hope this will help you.
Thank you.
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
9 |