The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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] )
)
User | Count |
---|---|
14 | |
12 | |
8 | |
6 | |
5 |
User | Count |
---|---|
29 | |
18 | |
13 | |
8 | |
5 |