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.
I have two measures: starting and ending. I need the Ending value of January to equal the starting value of February, and so on. Is there a way to write this?
Solved! Go to Solution.
Hi @bhmiller89
You can try these methods.
1 Add one to your [ending] Measure
2 Use this Measure
end = DATE(YEAR(SELECTEDVALUE(DateTable[Date])),MONTH(SELECTEDVALUE(DateTable[Date]))+1,1)
The result looks like this:
For more details, you can refer the attached pbix file.
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @bhmiller89
You can try these methods.
1 Add one to your [ending] Measure
2 Use this Measure
end = DATE(YEAR(SELECTEDVALUE(DateTable[Date])),MONTH(SELECTEDVALUE(DateTable[Date]))+1,1)
The result looks like this:
For more details, you can refer the attached pbix file.
Best Regards,
Caiyun Zheng
Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @bhmiller89
Using the calendar table, can the starting day of the month be -1 from the previous day i.,e.(first day -1).
Basically something like this (01/02/2021 - 1 = 31/01/2021). And use that value for the measure
@bhmiller89 , check out the function openingbalancemonth
refer this video: https://www.youtube.com/watch?v=6lzYOXI5wfo
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 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |