The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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.LeanAndPractise(Everyday) ) |
hello @junding9
please check if this accomodate your need.
Create a calculated column with following DAX:
Hope this will help you.
Thank you.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
21 | |
18 | |
15 | |
14 | |
13 |
User | Count |
---|---|
38 | |
34 | |
21 | |
19 | |
18 |