Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi friends,
Can you help me to write a measure to acheive the Result
Sample Data
Period Value Result
p1 100 100
p2 150 50
p3 175 25
p4 225 50
p5 300 75
Solved! Go to Solution.
if you use a slicer or you have spaces in the date, it's better to write the measure like this
CALCULATE(
[SumValue],
OFFSET(-1,
SUMMARIZE(ALLSELECTED('Table'),'Table'[Period]),ORDERBY('Table'[Period],ASC)))
Hi @RENJITH_R_S
You can achieve your goal, using the offset function.
1. Create a basic sum measure:
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
93 | |
88 | |
35 | |
35 |
User | Count |
---|---|
154 | |
101 | |
80 | |
63 | |
54 |