Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Measure shows incorrect number

Hi everyone, 

 

I want to measure the numbers of customers (N=). Since some columns are unpivot, it is harder to return the number of customers. 

 

The results should be 1628, but it shows 1314, and I can't figure out what's going wrong. You can find the links for the excel- and pbix file below:

 

https://drive.google.com/file/d/1eJ859T50_WloBLHxubMKXT3K8Qb8Qf3-/view?usp=sharing

https://drive.google.com/file/d/1Lbj0uVfganpU6iDPNFh1qoQS3Hujs8rF/view?usp=sharing

 

I hope the links are working (especially the pbix-file). I included the measure, just to be sure:

 

Respondents =
VAR UniekeResponses =
CALCULATETABLE (
SUMMARIZE (
'unpivot';
'unpivot'[Locatie naam];
'unpivot'[Survey];
'unpivot'[Month];
"Respondent"; MIN( 'unpivot'[N=])
)
)
VAR Responses =
SUMX (
UniekeResponses;
[Respondent]
)
RETURN
Responses

 

  • Anonymous's avatar
    Anonymous
    6 years ago

    Hi v-xicai 

     

    It is solved!

    The measure is working correctly!

    Some cells in the column with the number of respondents showed a value, while that cell should be empthy of zero. So, nothing was wrong with the measure, but with the underlying data. 

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous ,

     

    We are uable to accesss the .pbix file.

     

    Kindly approve request.

     

    Regards,

    Harsh Nathani

    Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Anonymous 

       

      Thanks for your reply. 

      If I am correct, you've access to the Excel-file now. 

      Downloading the pbix-file should be possible by downloading as an extract. 

       

      If hope this works. Or is there another way to share a pbix-file?

       

  • v-xicai's avatar
    v-xicai
    Icon for Community Support rankCommunity Support

    Hi Anonymous ,

     

    I am not sure what desired result would you want. Is it refer to the issue that total sum is not correct? If so , you may refer to the case .

     

    Or could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

     

    Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

     

    Best Regards,

    Amy 

     

    Community Support Team _ Amy

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

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi v-xicai 

         

        It is solved!

        The measure is working correctly!

        Some cells in the column with the number of respondents showed a value, while that cell should be empthy of zero. So, nothing was wrong with the measure, but with the underlying data.