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
Hello,
I would like to create a Table with three column,
Data[TripReference] (Distincted)
Data[DaysAway]
Data[CostCenterCode]
Tried ADDCOLUMNS, but I think I'm not getting the systax right.
Please advise..
Solved! Go to Solution.
@Anonymous -
I replied to post https://community.powerbi.com/t5/Desktop/Calculated-Columns-that-relate-to-like-row-grouping/m-p/753289#M363013, using ADDCOLUMNS ( DISTINCT ...
Maybe that will help.
Proud to be a Super User!
@Anonymous -
I replied to post https://community.powerbi.com/t5/Desktop/Calculated-Columns-that-relate-to-like-row-grouping/m-p/753289#M363013, using ADDCOLUMNS ( DISTINCT ...
Maybe that will help.
Proud to be a Super User!
Hello @Anonymous
ADDCOLUMNS needs a table as the first argument, you are adding columns to the table you list. Give this a try:
NewData = SUMMARIZE(Data,Data[TripReference],Data[DaysAway],Data[CostCenterCode])
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 |
|---|---|
| 61 | |
| 54 | |
| 41 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 106 | |
| 99 | |
| 38 | |
| 29 | |
| 28 |