Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi ,
I'm trying to make a temporary table to use with SUMX. 1 with unique id's. The base table has many non unique id's. All the rows with the same id have the same value in another column.
My idea was CALCULATETABLE(tablename,(VALUES(tablename[id])))
but this returns the whole basetable with all non unique id's. So all the rows.
When I omit the tablename as the first parameter, of course the other columns are not there, but at least the one-column table has only the unique id.
How can a make a table with 2 columns : one with the unique key and the corresponding other value in the other column?
So from this
| id | value | other misc |
1 | 10 | ags |
| 1 | 10 | saaas |
| 1 | 10 | sasaS |
| 2 | 5 | REEWWR |
To this :
| id | value |
| 1 | 10 |
| 2 | 5 |
Solved! Go to Solution.
Not sure I'm not missing something, but I would have thought you could use simply:
New Table =
SUMMARIZE(
'Table',
'Table'[id],
'Table'[value]
)Regards
No worries, glad to help!
Cheers
Not sure I'm not missing something, but I would have thought you could use simply:
New Table =
SUMMARIZE(
'Table',
'Table'[id],
'Table'[value]
)Regards
Jos, thanks for the quick reply. I stubbornly focussed on the wrong path....
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 |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 9 | |
| 8 | |
| 7 |