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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
I am trying to the PIU column to sum to 450 instead of 204. Is this possible? I have 23 distinct ProductIDs and two distint ProgCodes that will always be 200/250. Not sure how to proceed.
THanks in advance.
Solved! Go to Solution.
@IamTDR This is a bit different than the Test_Data 🙂 Try this measure:
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
Hi,
Share the link from where i can download your PBI file.
Not sure how to do that, plus I have only real data that I cannot share online.
@IamTDR You could try this measure:
PIU =
VAR _min =
MIN ( Test_Data[PIU] )
VAR _max =
MAX ( Test_Data[PIU] )
VAR _same = _min = _max
RETURN
IF ( _same, _min, _min + _max )
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
First thanks for the feedback.
I am attempting to sum my PIU number but this number should be summed by AcctNumber and ProgramCode.
In the example picture, the sum should be 711.
Should I create a concatenate of accountnumber and programcode and use that field to sum my PIU?
@IamTDR This is a bit different than the Test_Data 🙂 Try this measure:
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
Thank you! The lastest measure, PIU2 worked!
Thanks again!
@IamTDR Glad it worked! 🙂
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
@IamTDR hmm, not really sure why that error would show as it's usually syntax error. Maybe there are blanks in the bigger set?
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
Sorry, I still had the same error. My dataset is large with many accounts and program codes. Maybe thats my issue?
@IamTDR , Not very clear try a new measure like
sumx(values('test_date'[project_id]),[PIU])
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 53 | |
| 51 | |
| 36 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |