Join 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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello everyone,
I’m still relatively new to Power BI and currently facing a conceptual issue. I’m working with two tables: Orders and CLE.
My goal is to analyze, for each week, how much was booked on the planned date (production date). My calculation works correctly for individual records, but as soon as I group by week, my measure always returns BLANK.
Does anyone have an idea what might be causing this issue or how I can resolve it?
Thanks in advance!
QuantityOnTime = SUMX(
FILTER(
'CLE',
'CLE'[Posting Date] = SELECTEDVALUE(Orders[Production Date])
),
'CLE'[Quantity]
)
Solved! Go to Solution.
Hi,
Try this approach
Measure = sum('cle'[Quantity])
Hope this helps.
Thanks for the reply from Ashish_Mathur and samratpbi , please allow me to add some more information:
Hi @Baudi ,
You can join [Posting Date] and [Product Date] as a join relationship between two tables
This way whether you use the table CLE's [Quantity] directly or create a measure with the following content, it will display properly:
Measure =
SUMX('CLE',[Quantity])
Note: You need to click on visual to set the blank rows to be filtered from the side filters, because data that is not connected to the two tables will be aggregated in the blank rows.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Thanks for the reply from Ashish_Mathur and samratpbi , please allow me to add some more information:
Hi @Baudi ,
You can join [Posting Date] and [Product Date] as a join relationship between two tables
This way whether you use the table CLE's [Quantity] directly or create a measure with the following content, it will display properly:
Measure =
SUMX('CLE',[Quantity])
Note: You need to click on visual to set the blank rows to be filtered from the side filters, because data that is not connected to the two tables will be aggregated in the blank rows.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
Try this approach
Measure = sum('cle'[Quantity])
Hope this helps.
Hi, I can see you have relationship where Order table filtering CLE table. If you want to have Quantity from the CLE table, then simply create a below measure:
Total Qty = SUM(CLE[Quantity]).
Now if you bring your Week no, Production date along with the above measure, it should return the value correctly.
If this help to resolve your problem then please mark it as solution, thanks!
Hello,
I can calculate the total sum, but in the end, I want to have three measures: "Early Quantity ", "On Time Quantity ", and "Late Quantity ". I'm not sure how to aggregate this correctly by week.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!