Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hello!
First, thank you to all the up-until-now users of this forum-- the community content has helped me out of a number of jams, and I've learned a bunch. I haven't quite been able to successfully search for what's tripping me up here, though.
I'm having a heck of a time computing a particular summary of item sales performance: the goal is to aggregate all active products by fiscal year, and to separate those items into buckets according to their average sales per week, per location. The output should look something like this, in which each of the threshold columns sum to equal a count of total active products:
However, my output keeps turning out like this:
Here's what I have currently for DAX:
Example of the (improperly functioning) threshold calculations:
Solved! Go to Solution.
Hi @wirednorth
You may refer to this post to create the measure.For example:
Count =
VAR _table =
SUMMARIZE (
'Data Table',
'Data Table'[FISC_YR_NM],
"Avg", SUM ( 'Data Table'[UNITS_SOLD] ) / SUM ( 'Data Table'[ACTIVE_LOCATION_CT] )
)
RETURN
CALCULATE (
DISTINCTCOUNT ( 'Data Table'[Item ID] ),
FILTER ( _table, [Avg] < 0.1 )
)
If it is not your case,please share a simplified sample and expected output. You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
How to Get Your Question Answered Quickly
Regards,
Cherie
Hi @wirednorth
You may refer to this post to create the measure.For example:
Count =
VAR _table =
SUMMARIZE (
'Data Table',
'Data Table'[FISC_YR_NM],
"Avg", SUM ( 'Data Table'[UNITS_SOLD] ) / SUM ( 'Data Table'[ACTIVE_LOCATION_CT] )
)
RETURN
CALCULATE (
DISTINCTCOUNT ( 'Data Table'[Item ID] ),
FILTER ( _table, [Avg] < 0.1 )
)
If it is not your case,please share a simplified sample and expected output. You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.
How to Get Your Question Answered Quickly
Regards,
Cherie
Cherie,
Thank you for your guidance on this. I was able to get everything working quite quickly with the solution you outlined.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |