Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Experts,
I have a date column which populates based on fortnightly basis ( Fortnightly is 14 days but I receive the data earlier ). My calculation should be based on Max(date) and the previous day that is available.
Example:
Date received
15/04/2022
30/04/2022
12/05/2022
From the above dates, how do i select 30/04/2022 and 12/05/2022 only? and for the next month also the logic should work
the same way like selecting 12/05/2022 and 30/05/2022 (Future date, which is currently not available) automatically.
This might be an easy one but appreciate your help.
Thank you.
Las
Solved! Go to Solution.
Thank you. All good.
@Las , Measures
Max date = maxx(allselected(Table), Table[Date])
2nd Max date = maxx(filter( allselected(Table), Table[Date] < [Max Date]) , Table[Date])
or
Max date = maxx(all(Table), Table[Date])
2nd Max date = maxx(filter( all(Table), Table[Date] < [Max Date]) , Table[Date])
Hi Amit
Thanks for the prompt response.
2nd Max date, would this pick up 30/04 or 15/04? Table[Date] < [Max Date] will search for the lowest and compared with the max date?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |