Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have been searching for over an hour and cant find the exact formula that will help. I am trying to calculate a total number of "trees" based on the information keyed into Sharepoint. Example of what I am using now:
The concept was originally intended to have 3 "trees" per vat. We have updated our standards and now have to seperate the batches. So some may have 1,2,3 "trees" or have a 0 if there is no tag on particular tree, but need to count the 0 and not the blank. You will see from the information entered today total trees pulled is 21. In reality we have only pulled 17. I have also tried to divide it based on weight with each vat typically weighing around 300lbs. That didnt give me a true number either, but was closer to count. Any help would be greatly appreciated.
Hi, I am not sure how your datamodel looks like, but I tried to create a sample pbix file like below.
One of ways to solve this is to use == in the measure, instead of using only one = .
Item count version 2 (I want): =
COUNTROWS (
FILTER (
VALUES ( Data[Item] ),
NOT ( CALCULATE ( SUM ( Data[Value] ) ) == BLANK () )
)
)
It doesnt like values and sum.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 82 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |