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.
Как с помощью формулы DAX можно вставлять значения за предыдущие месяцы?
Пример: Есть таблица http://prntscr.com/qufdjt необходимо, чтобы значение Ступени прокидывалось в текущий месяц из предыдущего, тем самым давая возможность сравнения двух этих показателей.
Solved! Go to Solution.
Hi @SErgey-kuznetso ,
Please refer to the formula below.
For measure:
Measure = CALCULATE(SELECTEDVALUE('Table'[Value]),PREVIOUSMONTH('Table'[Date]))
For calculated column:
Column = CALCULATE(MAX('Table'[Value]),FILTER('Table','Table'[Date].[MonthNo]=EARLIER('Table'[Date].[MonthNo])-1))
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @SErgey-kuznetso ,
Please refer to the formula below.
For measure:
Measure = CALCULATE(SELECTEDVALUE('Table'[Value]),PREVIOUSMONTH('Table'[Date]))
For calculated column:
Column = CALCULATE(MAX('Table'[Value]),FILTER('Table','Table'[Date].[MonthNo]=EARLIER('Table'[Date].[MonthNo])-1))
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |