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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
anoopjoy
New Member

Count and Sum shows wrong results

I need your support for the below issue.

I have connected my excel to power BI and generated graphs. While generating the reports I am facing the below issue:

1. Sum Function: I am calculating man-hours spent on each property, In the below chart "Total man-hours by property" based on the filter, it should show the value as 4 but it shows the wrong value as 6. Please refer to the table below, where the correct value is 2+2 = 4 (total hours spent) is shown; but in the chart, it is showing wrongly. When I make a sum the result is showing wrong with more value and I need your support to fix it. 

anoopjoy_0-1654769416482.png

2. Count Value: In the below chart name "Count of property visits", here actually it should show the result as 2, but it shows a wrong result as 3. Can you please advise on how to fix it.

anoopjoy_2-1654770298691.png

 

I hope I have clarified my query. Looking forward to your support.

 

1 ACCEPTED SOLUTION

In the source data, there are only 2 Amlak HO's.

 

Actually, in the excel file, there were a lot of null values. So I have created a formula and changed all null values to " ". After that, the report was captured correctly. These sensitive data had created issues.

Thanks for your support.

 

The screenshots with the correct value are mentioned below:

 

anoopjoy_0-1655279165300.png

anoopjoy_1-1655279224401.png

anoopjoy_2-1655279256250.png

 

 

 

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @anoopjoy 

 

You need to check the source data, are there 3 Amlak HO's? Can you provide simple pbix files? Sensitive information can be removed in advance.

 

Best Regards,

Community Support Team _Charlotte

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

In the source data, there are only 2 Amlak HO's.

 

Actually, in the excel file, there were a lot of null values. So I have created a formula and changed all null values to " ". After that, the report was captured correctly. These sensitive data had created issues.

Thanks for your support.

 

The screenshots with the correct value are mentioned below:

 

anoopjoy_0-1655279165300.png

anoopjoy_1-1655279224401.png

anoopjoy_2-1655279256250.png

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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