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 Everyone, I'm struggling in this code, if anyone can help please - I want to fetch only last values from different months and show in a matrix. For example -
| Jan - $4,724,484.1 |
| Feb - $6,321,244.7 |
try like
1) add a column like:
MONTH = FORMAT([Date], "mmm")
2) plot a visual with the month column and a measure like:
LastRevenue=
VAR _monthtable =
FILTER(
ALL(TableName),
MONTH([Date]) = MONTH(MAX([Date]))
)
VAR _lastdate =
MAXX(
_monthtable,
[Date]
)
RETURN
MAXX(
FILTER(
_monthtable,
TableName[Date] = _lastdate
),
TableName[Online Revenue]
)
@gfreeman thanks for the response, I have tried that however it's throwing an error. Please help me understand this
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 |
|---|---|
| 5 | |
| 5 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |