Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I want to display the last order date for tag id with in selected date range.
Figure 1: Month MAY
Month : April
with respective of the selected month, should show only one record in a month for a Tag ID's
Please advice , measure or calculated column.
Solved! Go to Solution.
Hi @NavaneethaRaju
Please try
Last Order Date =
CALCULATE (
MAX ( TableName[Order Date] ),
REMOVEFILTERS (),
VALUES ( TableName[Tag ID] ),
ALLSELECTED ( TableName[Order Date] )
)
Hi @NavaneethaRaju
Please try
Last Order Date =
CALCULATE (
MAX ( TableName[Order Date] ),
REMOVEFILTERS (),
VALUES ( TableName[Tag ID] ),
ALLSELECTED ( TableName[Order Date] )
)