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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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])
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 115 | |
| 114 | |
| 38 | |
| 36 | |
| 26 |