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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors