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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm having trouble finding the right syntax to calculate the SUM of the Net Collection column for unique values of the Item Code. Can someone help? I will be using the CALCULATE () function to invoke a userelationship between a date dimension table and a date that's not showing in the sample data below.
Solved! Go to Solution.
Hi @Joseph_Hchaime ,
Please crate a new measure like:
Measure =
SUMX (
SUMMARIZE (
'Table',
'Table'[BillID],
'Table'[AllocationDate],
'Table'[NetCollection]
),
'Table'[NetCollection]
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @Joseph_Hchaime ,
Could you please provide an simple file and a screenshot of the expected output? This is gonna help.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
This is a more accurate depiction of what I need to achieve. I need to calculate the distinct sum of NetCollection and Net Collection USD for every MatterID/BillID/AllocationDate
Hi @Joseph_Hchaime ,
Please crate a new measure like:
Measure =
SUMX (
SUMMARIZE (
'Table',
'Table'[BillID],
'Table'[AllocationDate],
'Table'[NetCollection]
),
'Table'[NetCollection]
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Can I use this number in a detailed table as well with the other columns next to it? or it will mess up the calculation?
Hi @Joseph_Hchaime ,
Could you please provide an simple file and a screenshot of the expected output? This is gonna help.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
@Joseph_Hchaime , Try a new measure like
Sumx(summarize(Table, Table[Item Code], Table[New Collection]), [New collection])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 90 | |
| 81 | |
| 66 | |
| 65 |