Forum Discussion

rains_23's avatar
rains_23
Helper I
10 months ago
Solved

Totals in Matrix

Hi,

I have created a matrix. 

The below data gets filtered on a slicer for Date. So for each date, there may be multiple records of O, P, or S for each org name (column1). I want a total as 3, if it has atleast 1 record in each. A total of 2 if 1 record in atleast O , P or S. 

 

So I created an additional column and added value 1 in each, but I get the second table with distinct count. When I do total, it still shows 1 and not what I expect. 

 

what can I do to solve this.

 

 

 

 

Expected Result

 

 

 

 

 

 

12 Replies

  • Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
    Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
    Please show the expected outcome based on the sample data you provided.

    Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
    Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

  • Hi,

     

    I have attached the sample data. 

    So the organisation here send multiple files. We are just interested if they send 1 of each file daily. So left side we capture the raw data , and the right I am trying to put it up in a matrix in power bi. I have the filter up for dates.

     

    We would also like to see a trend of how many organisations are sending us all the 3 files , 2 etc.

     

    Download TypeDateCodeOrganisation Name 
    UI15/09/2025SIDR-10700ABCsender-id
    UI15/09/2025SIDR-04875DEFpa
    UI15/09/2025SIDR-04875DEFpa
    API15/09/2025SIDR-04894PQRsender-id
    API15/09/2025SIDR-04894PQRopa
    API15/09/2025SIDR-04894PQRpa
    API15/09/2025SIDR-05215Telecom1opa
    UI15/09/2025SIDR-05215Telecom1sender-id
    API15/09/2025SIDR-05215Telecom1opa
    UI16/09/2025SIDR-05497Apple 1sender-id
    UI16/09/2025SIDR-05497Apple 1sender-id
    API16/09/2025SIDR-04881Samsung1opa
    API16/09/2025SIDR-04881Samsung1pa
    API16/09/2025SIDR-04881Samsung1sender-id
    API16/09/2025SIDR-05203Tiger1opa
    UI16/09/2025SIDR-05203Tiger1sender-id
    API16/09/2025SIDR-05203Tiger1opa
    API16/09/2025SIDR-05213Dell 1opa
    UI16/09/2025SIDR-05213Dell 1sender-id
    API16/09/2025SIDR-05213Dell 1opa
    API16/09/2025SIDR-05211Dell 1opa
    UI16/09/2025SIDR-05211Dell 1sender-id
    API16/09/2025SIDR-05211Dell 1opa
    API17/09/2025SIDR-04871HPopa
    UI17/09/2025SIDR-04871HPsender-id
    UI17/09/2025SIDR-04871HPopa
    UI17/09/2025SIDR-04871HPsender-id
    API17/09/2025SIDR-04871HPopa
    UI17/09/2025SIDR-07873Dexatel OUopa
    UI17/09/2025SIDR-07873Dexatel OUpa
    UI17/09/2025SIDR-07873Dexatel OUopa
    UI17/09/2025SIDR-07873Dexatel OUsender-id
    UI17/09/2025SIDR-05747EMEA 1opa
    UI17/09/2025SIDR-05747EMEA 1

    opa

     

     

     

    Expected output

    15/09/2025    
    Organisation Namesender-idpaopaTotal
    ABC1  1
    DEF 2 1
    PQR1113
    Telecom11 22
         
         
         
    16/09/2025    
    Organisation Namesender-idpaopaTotal
    Apple 12  1
    Samsung11113
    Tiger11 22
    Dell 12 42
         
         
    17/09/2025    
    Organisation Namesender-idpaopaTotal
    HP2 32
    Dexatel QU1123
    EMEA 1  21

     

     

    Pasting the output again ,as the columns were too close 

     

    15/09/2025    
    Organisation Namesender-idpaopaTotal
    ABC1  1
    DEF 2 1
    PQR1113
    Telecom11 22
         
         
         
    16/09/2025    
    Organisation Namesender-idpaopaTotal
    Apple 12  1
    Samsung11113
    Tiger11 22
    Dell 12 42
         
         
    17/09/2025    
    Organisation Namesender-idpaopaTotal
    HP2 32
    Dexatel QU1123
    EMEA 1  21

    Thank you,

    Rains

  • Download TypeDateCodeOrganisation Name 
    UI15/09/2025SIDR-10700ABCsender-id
    UI15/09/2025SIDR-04875DEFpa
    UI15/09/2025SIDR-04875DEFpa
    API15/09/2025SIDR-04894PQRsender-id
    API15/09/2025SIDR-04894PQRopa
    API15/09/2025SIDR-04894PQRpa
    API15/09/2025SIDR-05215Telecom1opa
    UI15/09/2025SIDR-05215Telecom1sender-id
    API15/09/2025SIDR-05215Telecom1opa
    UI16/09/2025SIDR-05497Apple 1sender-id
    UI16/09/2025SIDR-05497Apple 1sender-id
    API16/09/2025SIDR-04881Samsung1opa
    API16/09/2025SIDR-04881Samsung1pa
    API16/09/2025SIDR-04881Samsung1sender-id
    API16/09/2025SIDR-05203Tiger1opa
    UI16/09/2025SIDR-05203Tiger1sender-id
    API16/09/2025SIDR-05203Tiger1opa
    API16/09/2025SIDR-05213Dell 1opa
    UI16/09/2025SIDR-05213Dell 1sender-id
    API16/09/2025SIDR-05213Dell 1opa
    API16/09/2025SIDR-05211Dell 1opa
    UI16/09/2025SIDR-05211Dell 1sender-id
    API16/09/2025SIDR-05211Dell 1opa
    API17/09/2025SIDR-04871HPopa
    UI17/09/2025SIDR-04871HPsender-id
    UI17/09/2025SIDR-04871HPopa
    UI17/09/2025SIDR-04871HPsender-id
    API17/09/2025SIDR-04871HPopa
    UI17/09/2025SIDR-07873Dexatel OUopa
    UI17/09/2025SIDR-07873Dexatel OUpa
    UI17/09/2025SIDR-07873Dexatel OUopa
    UI17/09/2025SIDR-07873Dexatel OUsender-id
    UI17/09/2025SIDR-05747EMEA 1opa
    UI17/09/2025SIDR-05747EMEA 1opa

     

     

     

    15/09/2025    
    Organisation Namesender-idpaopaTotal
    ABC1  1
    DEF 2 1
    PQR1113
    Telecom11 22
         
         
         
    16/09/2025    
    Organisation Namesender-idpaopaTotal
    Apple 12  1
    Samsung11113
    Tiger11 22
    Dell 12 42
         
         
    17/09/2025    
    Organisation Namesender-idpaopaTotal
    HP2 32
    Dexatel QU1123
    EMEA 1  21
  • I tried pasting it as a table, but seems not working as it is getting rid of the html. I will try to upload it later, as cannot use any drive in office.

  • lbendlin  Just tagging you in case you missed my reply. I have uploaded the data in a spreadsheet in google sheets.

      • rains_23's avatar
        rains_23
        Helper I

        @

        lbendlin
        Preview
         

         

        Part of it worked, It is not taking correctly when it has more count in only Type 1,