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 Everyone,
I need help trying to figure out a group by function or some other function that will allow me to sum the total HashrateAVG for a specefic 'LCDName' in the data table below, where 'ASC' can be repeated multiple times for LCD name and I only need it summed once. For example in the case below for 'LCDName' 2324 it should return 72.015 (11.86+25.28+34.87).
I've tried this and keep getting a error.
Solved! Go to Solution.
1. you can remove duplicates in PQ, that will be easier for you to calculate
2. or you can try this
Table 2 =
var tbl=ADDCOLUMNS('Table',"average",'Table'[Avg]/CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[date]=EARLIER('Table'[date])&&'Table'[LCD NAME]=EARLIER('Table'[LCD NAME])&&'Table'[Avg]=EARLIER('Table'[Avg]))))
return SUMMARIZE(tbl,[date],[LCD NAME],"output",sumx(FILTER(tbl,'Table'[date]=EARLIER('Table'[date])&&'Table'[LCD NAME]=EARLIER('Table'[LCD NAME])),[average]))
pls see the attachment below
Proud to be a Super User!
1. you can remove duplicates in PQ, that will be easier for you to calculate
2. or you can try this
Table 2 =
var tbl=ADDCOLUMNS('Table',"average",'Table'[Avg]/CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[date]=EARLIER('Table'[date])&&'Table'[LCD NAME]=EARLIER('Table'[LCD NAME])&&'Table'[Avg]=EARLIER('Table'[Avg]))))
return SUMMARIZE(tbl,[date],[LCD NAME],"output",sumx(FILTER(tbl,'Table'[date]=EARLIER('Table'[date])&&'Table'[LCD NAME]=EARLIER('Table'[LCD NAME])),[average]))
pls see the attachment below
Proud to be a Super User!
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 |
|---|---|
| 63 | |
| 55 | |
| 41 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 97 | |
| 80 | |
| 35 | |
| 29 | |
| 25 |