Question

enter image description hereI have a list that has a choice field that shows 'Deployed', 'Disposed' and 'Used'which indicated to each type of model laptop. How can I implement the chart within this two category which is status and type of model count together.

Was it helpful?

Solution

Set Items property of pie chart as shown below:

AddColumns(GroupBy(AddColumns('Task10/27',"ChoiceNew",Choice.Value),"ChoiceNew","GroupData"),"CountbyChoice",CountRows(GroupData))

enter image description here

Or like this:

  Table(
    {Col: "Disposed", Value: CountRows(Filter('Task10/27', Choice.Value = "Disposed"))
    },
    {Col: "Deployed", Value: CountRows(Filter('Task10/27', Choice.Value = "Deployed"))
    },
    {Col: "Used", Value: CountRows(Filter('Task10/27', Choice.Value = "Used"))
    }
)

enter image description here

My list:

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top