Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Experts,
Need to calculate max date for each week. The below formula is working fine except for the week of January.
Please help
Solved! Go to Solution.
Hi @SonaSinghA
Please find the DAX for Measure
MaxDateOfWeek =
VAR WeekSummary =
SUMMARIZE(
'Date',
'Date'[WeekNumber],
"MaxDate", MAX('Date'[Date])
)
RETURN
MAXX(WeekSummary, [MaxDate])
PBIX
https://drive.google.com/file/d/1m3Ufne7cm3eIWlMO56XJd51NA3QMjxtx/view?usp=sharing
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Hi @SonaSinghA
Please find the DAX for Measure
MaxDateOfWeek =
VAR WeekSummary =
SUMMARIZE(
'Date',
'Date'[WeekNumber],
"MaxDate", MAX('Date'[Date])
)
RETURN
MAXX(WeekSummary, [MaxDate])
PBIX
https://drive.google.com/file/d/1m3Ufne7cm3eIWlMO56XJd51NA3QMjxtx/view?usp=sharing
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the Thumbs Up 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
105 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
141 | |
107 | |
100 | |
82 | |
74 |