Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

How to use countx with multiple parameter

HI Team

i do have this below table

AreaCase
SydneyReview
SydneyAccepted
MelbourneDispute
MelbourneDispute
MelbourneReview
PerthAccepted
PerthReview
SydneyDispute
PerthDispute
MelbourneReview

 

i like this way in Power Bi

KLMNOPQR
Row LabelsAccepted% completedDispute% completedReview% completedGrand Total
Melbourne L3/R32N3/R32P3/R34
Perth1L4/R41N4/R41P4/R43
Sydney1L5/R51N5/R51P5/R53
Grand Total2L6/R64 4 10

 

with countx function in Power Bi measure 

can anyone guide me. Heaps thansk i

  • Anonymous 

    Based on the above sample data, what exactly do you need to count? Please provide the expected result.

6 Replies

  • Anonymous 

    Based on the above sample data, what exactly do you need to count? Please provide the expected result.

    • Anonymous's avatar
      Anonymous
      Not applicable

      HI Fowmy, thanks for replying, 

      I am counting how many % complted every Area by case wise. like Sydney is having 4 rows then how many % for Review, Dispute....

  • Anonymous's avatar
    Anonymous
    Not applicable

    i am counting in excel by pivot table like this

     

    like this

      • Anonymous's avatar
        Anonymous
        Not applicable

        Heaps thanks mate, all good. i got what i wanted. appriciate your help 

  • Anonymous 

    You do not need a calculation. Insert a matrix visual onto the report canvas, add the AREA to Rows section and the CASE to Column selection then insert a CASE again to the Value section and set the aggregation to COUNT