Forum Discussion

zblm's avatar
zblm
Frequent Visitor
8 years ago
Solved

Dynamic Groupings

Hi all,     Im hoping someone can help me. I have a pie chart that displays counts of claims by days of the week. Most of the data falls between Monday to Friday, with only a small amount of data ...
  • v-huizhn-msft's avatar
    8 years ago

    Hi zblm,

    You add a measure in the value level of the pie chart, right? If it is, you can create try to create another measure using the formula below and replace it to original measure to check if it works fine.

    newmeasure =
    IF (
        Table[Date] = "Saturday"
            && Table[Date] = "Sunday"
            && [your_measure] <= 0.05,
        CALCULATE ( [your_measure], FILTER ( Table, Table[Date] = "Saturday" ) )
            + CALCULATE ( [your_measure], FILTER ( Table, Table[Date] = "Sunday" ) ),
        [your_measure]
    )
    


    Please respond me if you have any problem.

    Best Regards,
    Angelia