Forum Discussion

alvin199's avatar
alvin199
Helper III
4 years ago
Solved

Rename Axis from Auto Label

I am grouping the age using Data Groups function in Power BI. In its setting, I have selected Size of bins and Power BI auto detected the minimum and maximum values of the age column are 19 and 50 re...
  • KNP's avatar
    KNP
    4 years ago

    Something like this as a new column...

    Age Range = 
        SWITCH(
            TRUE(),
            'Table'[Age] < 19, "0 - 19",
            'Table'[Age] < 39, "20 - 39",
            'Table'[Age] < 59, "40 - 59",
            "60+"
            )

    Substitute your table name and column name.