Forum Discussion
Justas4478
Post Prodigy
4 years agoYear table grouped using measure
Hello, I have year table and I am trying to group it in to custom group that would have years I specify. Only problem is that I can only use measures to do the grouping. This is what I am try...
- Anonymous4 years ago
Hi Justas4478 ,
Please try:
Measure = SWITCH ( TRUE (), MAX ( 'Table'[Year] ) >= 2017 && MAX ( 'Table'[Year] ) <= 2020, "2017-2020", MAX ( 'Table'[Year] ) >= 2021 && MAX ( 'Table'[Year] ) <= 2024, "2021-2024" )Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak
Super User
4 years agoJustas4478 , You need to create a new column of dynamic segmentation
Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ