cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jaydpie
Helper IV
Helper IV

Calculate function not counting some values?

Hello all,

 

I have this formula.

DAX.JPG

It is producing this result (which is incorrect)

May.JPG

When I go back to the source I filtered by May 2020 and "injury" and I got this...

injury.JPG

As you can see it should be 49.

 

Any ideas why its deciding to leave 9 off?

 

J

5 REPLIES 5
Jaydpie
Helper IV
Helper IV

I actually figured out why 8 of them are missing... 7 were entry error 1 is counting the column header But I still cant account for 1 missing??

@Jaydpie it's all in your data my friend, it is pretty simple DAX, I'm sure there is some invisible special character, in power query perform clean and trim of your column and see if that helps.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





parry2k
Super User
Super User

@Jaydpie does some of these Injury value has space that is not visible and not getting counted in Power BI.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

Visit us at https://perytus.com, your one-stop shop for Power BI related projects/training/consultancy.






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





@parry2k 

 

Hey, very highly unlikely as this is data extracted from a content management system, theres no manipulation of the data after the fact...

@Jaydpie well there is no obvious reason, maybe the date has issues, it not getting grouped in May 2020 which you are expecting. or any other filter, don't know.

 

Share pbix fie to look into it further.

 

 






Did I answer your question? Mark my post as a solution.

Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.





Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!