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,
I have a matrix with 3 levels: Lane (shipping route), Shipment #, Material.
I want to show total # of loads on each Lane, and then show the # of loads below 85% utilization for that Lane.
I have a column called '<85%' that is either 1 or 0, based on utilization of each shipment #. I can't just use SUM on that column, since I have another level in the matrix (material), causing the shipment # to have as many records as there are unique material on that truckload (see the '<85%' column). I tried using MAX and SUMX, which is working at the shipment # level, but the aggregation for the Lane-level is not working. It should be 5, not 2. Sorry if this is confusing. Any help is appreciated!
Solved! Go to Solution.
@Anonymous , Not very clear. It should be like
test = Sumx('Pivot Data'[Shipment Number]),calculate(MAX([< 85%])))
@amitchandak thank you, this worked! I still needed to use IF(ISINSCOPE(... but your solution was very helpful.
Can you explain why I needed to use CALCULATE before MAX, rather than just using max? Thanks!
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.