Forum Discussion
How can I bifurcate years
Hi Community,
I got Min Date and Max Date in Summarize table, but when I showcasing this in Visual I would like to bifurcate in years.
As per below example, rep start date and end date is between 2019 and 2023. I would like to show the between days by bifurcating into different years.
3 Replies
- lbendlin
Super User
You can use List.Generate in Power Query, or GENERATESERIES in DAX, or even CALENDAR.
- Ashish_Mathur
Super User
Hi,
My approach would be to split that one row into 1,473 rows (one row for each data which falls between the start and end date. The fallout of this method would be Table bloat more so when this same action will be replicated on all rows in your table. Would you be amenable to using this approach?
- AnonymousNot applicable
Hi Anonymous ,
Can you please share a pbix or some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng