Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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 | |
| 65 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 115 | |
| 114 | |
| 38 | |
| 36 | |
| 26 |