Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
In the above table I would like to not have the QTY on SO duplicated in each row just display the total. Is there away for me to do this?
Looks like when I have the filter set then it displays the way I need.
Could you please consdier sharing more details about it or a simple sample file without any sesentive information for further discussion? Thank you.
Hi, @jnaugle
May I ask if your problem has been solved? Is the above answer helpful to you?
If it helps, could you please mark the response which help as Answered? It will help the others in the community find the solution easily if they face the same problem with you. Thank you.
You can use the HASONEVALUE function. Since the total row has more than one Item Location, this measure will display the quantity for only the total row:
QTY SO = IF ( NOT HASONEVALUE ( Table[Item Location] ), SUM ( Table[QTY on SO] ) )
Proud to be a Super User!
The only issue with this solution is that once the user applies the location filter the SO Quantity is not populated
Any Ideas?
Try this measure:
QTY SO =
VAR vLocationCountAll =
COUNTROWS (
CALCULATETABLE (
VALUES ( 'Table'[Item Location] ),
ALL ( 'Table'[Item Location] )
)
)
VAR vLocationCountSlicer =
COUNTROWS ( ALLSELECTED ( 'Table'[Item Location] ) )
VAR vHasSlicerSelection =
IF ( vLocationCountAll = vLocationCountSlicer, 0, 1 )
VAR vResult =
SWITCH (
vHasSlicerSelection,
1, SUM ( 'Table'[QTY on SO] ),
0, IF ( NOT HASONEVALUE ( 'Table'[Item Location] ), MAX ( 'Table'[QTY on SO] ) )
)
RETURN
vResult
--------------------------------------------------------------
Proud to be a Super User!
still duplicates when no filters applied. Maybe I missed something on the Dax.
I have this error
ok so now dax errors at this point but the result is still the same . Duplicate data in the rows
I would need to see your data model. Can you provide a link to your report? You can provide sample data that illustrates the issue.
Proud to be a Super User!
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 |
|---|---|
| 79 | |
| 48 | |
| 37 | |
| 31 | |
| 27 |