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
Hello Community,
I created the two measures below, and thought they were working fine. In reviewing my data, I noticed something wrong with how I've done this that I'm sure is easy to fix...just not sure how. The problem is that Orders can have multiple lines, and these measures are not aggregating the total order value of all the lines - see explanation below.
I need to sum the value of orders in two distinct groups, and I need to count the "distinct" number of orders in each of those groups (in other words, count the number of distinct Order #'s within each group). Orders that have a value of $75,000 or more. Orders less than $75000.
Solved! Go to Solution.
Try like
Count of More Than 75k = countX(filter(summarize('Flu Shipped','Flu Shipped'[Order],"_sum",sum('Flu Shipped'[Net Price]))[_sum]>=75000),[Order])
Count of less Than 75k = countX(filter(summarize('Flu Shipped','Flu Shipped'[Order],"_sum",sum('Flu Shipped'[Net Price]))[_sum]<75000),[Order])
Try like
Count of More Than 75k = countX(filter(summarize('Flu Shipped','Flu Shipped'[Order],"_sum",sum('Flu Shipped'[Net Price]))[_sum]>=75000),[Order])
Count of less Than 75k = countX(filter(summarize('Flu Shipped','Flu Shipped'[Order],"_sum",sum('Flu Shipped'[Net Price]))[_sum]<75000),[Order])
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 |
|---|---|
| 84 | |
| 49 | |
| 37 | |
| 31 | |
| 30 |