Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

DAX query

I have a table A

 

office iduser idactivation status
1acompleted
1ccompleted
2ain progress
2bcompleted
2dnew
2ccompleted

 

i want to create a chart like the below

 

 

For the above data,

result should be like 

Completed4
inprogress1
new1
  • Hi Anonymous ,

    Has your problem been solved? If yes, please consider accept it as the solution to help the other members find it more quickly.

    Best Regards,
    Community Support Team _ kalyj

4 Replies

  • SpartaBI's avatar
    SpartaBI
    Community Champion

    Anonymous 

    Create a Measure  = COUNTROWS('Table').
    In the pie visual: Put the measure in the values and the 'id activation status' column in the legend

  • Hi Anonymous ,

    Has your problem been solved? If yes, please consider accept it as the solution to help the other members find it more quickly.

    Best Regards,
    Community Support Team _ kalyj

    • Anonymous's avatar
      Anonymous
      Not applicable

      No,  it hasn't been resolved

      • v-yanjiang-msft's avatar
        v-yanjiang-msft
        Community Support

        Hi Anonymous ,

        I attach my sample below for reference.

         

        Best Regards,
        Community Support Team _ kalyj

        If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

         

        DAX query.pbix18 KB