Hello,
I've encountered an issue totalling a table column in Power BI. I have two columns, a category column and a count column. I want to have the sum of the count column below the table, but it comes up incorrectly. Here's a capture of my table at one time:
Example 1
And here it is later:
Example 2
As you can see, if the total were just a sum of the 'Count of Name' column it'd be returning 32 rather than 28 in the first example, and 29 instead of 28 in the second example. For a bit more information, the table has a filter applied to it such that only dates within the past half day are counted. The individual values under the 'Count of Name' column are correct. When I try just having a card for 'Count of Name' with the date/time filter applied, I get 28 as well. So there's something about the number 28 that Power BI is stuck on.
The way the time filter works is by creating a calculated column with the following equation:
Last Half Day = IF(AND('SignalData'[TYPE]="Poll",'SignalData'[DATE_TIME]>[Past Half Day]),"Past Half Day","")
Past Half Day is a measure, with the simple formula:
Past Half Day = NOW()-(1/2)
The 'Count of Name' column is generated by entering the 'Name' column in my dataset to the Values field and selecting 'Count'. What's really throwing me off is that the individual counts are all correct, it's just the total that is off somehow. The fact that it's reporting 28 consistently tells me that it must be totalling something other than the Count of Name, but I'm not sure what that something is.
Any help or guidance you all can provide would be greatly appreciated.
Regards,
Dan