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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi there,
please help me.
my sumx function isnt working for a total qty measure i calculated.
I have my Qty measure where I am replacing my empty rows with the previous values as such
final Qty =
Solved! Go to Solution.
Hi @yve214 ,
According to your description, please try this code:
Iterative Qty =
IF (
HASONEVALUE ( date[date_dt] ),
[final Qty],
SUMX ( VALUES ( date[date_dt] ), [final Qty] )
)
Additionally, please see if this blog helps: Learn How to Fix Totals and Subtotals in DAX
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much for ahelping. Unfortunately in this instance it didnt work. Still got the same result but I can see how this will help with every other generic situation so thank you.
Hi @yve214 ,
Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.
Best Regards,
Community Support Team _ kalyj
Hi @yve214 ,
According to your description, please try this code:
Iterative Qty =
IF (
HASONEVALUE ( date[date_dt] ),
[final Qty],
SUMX ( VALUES ( date[date_dt] ), [final Qty] )
)
Additionally, please see if this blog helps: Learn How to Fix Totals and Subtotals in DAX
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
12 | |
11 | |
9 | |
8 | |
8 |