Forum Discussion
esam
3 years agoFrequent Visitor
Month Series
Hi I have date table from 2023 to 2025 i want a column with month series where 36 being december 2025 and 1 being January 2023.
FreemanZ
Super User
3 years agoesam
3 years agoFrequent Visitor
Hi FreemanZ
The solution you provided gave something similar but not accurate it is giving me result in negative
for jan 2023 it is one than feb 2023 0 and for december 2025 -33
- FreemanZ3 years ago
Super User
- esam3 years agoFrequent Visitor
Thank you for the solution FreemanZ can you explain a bit how this logic is working here !!
also how to get better with dax with real world scenarios
- FreemanZ3 years ago
Super User
hi esam
there is no secret, as long as you know the DATEDIFF function, which returns the number of periods between two dates. In this case, the period is MONTH.
In general, learning DAX by doing. Try to bring change and value to your daily work with DAX. If time allows, come back to the community and try to contribute.