Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Vikas_Mattela
Frequent Visitor

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.

Vikas_Mattela_0-1696566116047.png

 

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Vikas_Mattela ,

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Ashish_Mathur
Super User
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?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
lbendlin
Super User
Super User

You can use List.Generate in Power Query, or GENERATESERIES in DAX, or even CALENDAR.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.