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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello
I need help solving this issue
I have the following measure
I need that for totals instead of using the measure, only sums the results of the individual lines.
I've been trying to use HASONEVALUE, but no luck
Open to suggestions,
Omar Octaivano
Hi @ooctaviano -
Try using HASONEVALUE (or HASONEFILTER) and for the "False" expression try SUMX(Table, ItemCost*Qty_Rec). SUMX will calculate the values for each line, then add them up at the end.
If this doesn't work, please provide more information like a data model, sample data, etc. Do not do a screenshot of sample data - put it inline to the post so it is easier to copy and paste.
Hope this helps
David