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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Display years in grouping in matrix column

Hello everyone,

 

I have created a matrix view within Power BI where I am displaying future years, to show future values and possible forecasting.

I have grouped the years in 'buckets' of five (5) years.  I believe the Power BI term is 'bins'.

This works great, and the data is shown correctly.  However, a piece of feedback has been to show the years in the 'stratas'. 

 

For example; I have 'bins' of finve (5) years, showing 2024, 2029, 2034, ....  The feedback was to show, not just the years, but what years are in each 'bin'.  For example; 2024-2028, 2029-2033, 2033-2037 .....

 

As I am a visual person, and others probably are as well ...

 

Now:                                                                                                   Suggestion w/strata:

2024                                                                                                   2024-2028

2029                                                                                                   2029-2033

2034                                                                                                   2034-2038

 

 

Thanks for the help!

 

 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Create a reference table that lists all the years and their strata

 

Year Stratus
2024 2024-2028
2025 2024-2028
2026 2024-2028
2027 2024-2028
2028 2024-2028
2029 2029-2033
2030 2029-2033
2031 2029-2033
2032 2029-2033
2033 2029-2033

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous ,

 

Thanks for the reply from lbendlin , please allow me to provide another insight:

 

You can create a calculated column.

YearRange = 
VAR StartYear = [Year]
VAR EndYear = StartYear + 4
RETURN StartYear & "-" & EndYear

 

vkaiyuemsft_0-1724034088240.png

 

If your Current Period does not refer to this, please clarify in a follow-up reply.

 

Best Regards,

Clara Gong

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.

lbendlin
Super User
Super User

Create a reference table that lists all the years and their strata

 

Year Stratus
2024 2024-2028
2025 2024-2028
2026 2024-2028
2027 2024-2028
2028 2024-2028
2029 2029-2033
2030 2029-2033
2031 2029-2033
2032 2029-2033
2033 2029-2033

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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