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
Hello,
I would like to create a measure that would allow me to bring the value of "Total Diesel in Tanks" for the first day and last day of the month (Sept 1st and Sep 30th).
Thanks!
Solved! Go to Solution.
@Anonymous
If you have a Date Table dimension, you can try:
value on 1st of month = CALCULATE(SUM(table[Total Diesel in Tanks]), STARTOFMONTH(Date Table[Date]))
value on last day of month =
CLOSINGBALANCEMONTH(SUM(table[Total Diesel in Tanks]), Dates Table[Date])
Proud to be a Super User!
Paul on Linkedin.
@Anonymous
If you have a Date Table dimension, you can try:
value on 1st of month = CALCULATE(SUM(table[Total Diesel in Tanks]), STARTOFMONTH(Date Table[Date]))
value on last day of month =
CLOSINGBALANCEMONTH(SUM(table[Total Diesel in Tanks]), Dates Table[Date])
Proud to be a Super User!
Paul on Linkedin.
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 |
|---|---|
| 35 | |
| 32 | |
| 26 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 36 | |
| 32 | |
| 25 | |
| 23 |