Filter with Calculate producing unexpected results

Below is the formula syntax. Then below it is the resultant data. You can see that the count function is not always returning a ‘count value’ per the filter criterion (items inside green box). Puzzling. No other filter context is being applied.

image

Hi @mdalton2100 , we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.
  • When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.

image

  • Use the proper category that best describes your topic
  • Provide as much context to a question as possible.
  • Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.

Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file.

I’m guessing you want zeros? If so, try adding zero … will convert blanks to zeros.
Greg

@mdalton2100 Filter argument of CALCULATE is not operating at the right granularity. Try

FILTER ( VALUES ( Usage[Company ID] ), …

1 Like

Hi @mdalton2100, did the response provided by @AntrikshSharma help you solve your query? If not, how far did you get and what kind of help you need further? If yes, kindly mark as solution the answer that solved your query. Thanks!

Thanks AntrikshSharma! Your suggestion worked perfectly:

image

1 Like

Yes, thanks for the reminder (done).