This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi guys,
i need to create a measure that works like this:
How can I create it?
Thank you all 🙂
Solved! Go to Solution.
@bhanu_gautam , Thank you for your positive response to the post.
Here is my solution, I hope this helps.
1.Create a measure to calculate Y/100.
FirstMonthYDiv100 = CALCULATE(
MIN('Table'[Y]),
FILTER(
ALL('Table'),
'Table'[Month] = MINX(ALL('Table'), 'Table'[Month]
)
)
)/100
2.Create a cumulative measure for column X.
CumulativeSumX = CALCULATE(
SUM('Table'[X]),
FILTER(
ALLSELECTED('Table'),
'Table'[Month] <= MAX('Table'[Month])
)
)
3.Create a measure Z.
Z = [FirstMonthYDiv100] + [CumulativeSumX]
4.Here is my final result.
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@bhanu_gautam , Thank you for your positive response to the post.
Here is my solution, I hope this helps.
1.Create a measure to calculate Y/100.
FirstMonthYDiv100 = CALCULATE(
MIN('Table'[Y]),
FILTER(
ALL('Table'),
'Table'[Month] = MINX(ALL('Table'), 'Table'[Month]
)
)
)/100
2.Create a cumulative measure for column X.
CumulativeSumX = CALCULATE(
SUM('Table'[X]),
FILTER(
ALLSELECTED('Table'),
'Table'[Month] <= MAX('Table'[Month])
)
)
3.Create a measure Z.
Z = [FirstMonthYDiv100] + [CumulativeSumX]
4.Here is my final result.
Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@giuliapiazza94 , Can you explain what exactly you are trying to do
Proud to be a Super User! |
|
I need to create Z but I don't know how
X and Y are two measures.
X = total of new customers of month
Y = total customers
I need to create Z:
Z of first month selected (in this example is january) = Y / 100
Z of other months = Z(previous month) + X
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |