Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

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

 

1 ACCEPTED SOLUTION
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. 

View solution in original post

5 REPLIES 5
v-xicai
Community Support
Community 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
Not applicable

Hi @v-xicai 

 

Thanks for your reply. 

It is correct that the total sum is not correct, but I don't think it's the same issue as you were referring in the case. 

 

The pbix-file shows the problem clearly, so I hope this link is working:

https://1drv.ms/u/s!AgdRVF_X5GcAjn_AKkSRFsQOBDja?e=0KBMKg

 

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. 

harshnathani
Community Champion
Community Champion

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
Not applicable

Hi @harshnathani 

 

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?

 

open file.png

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.