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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I need to make a new COLUMN that shows the aggregated value of sales based on a city ( as a result I need to see the total number of sales fot each city for example for city Allen I need to see 290.21)
How can I do?
Thanks
Solved! Go to Solution.
@Giada90 ,
new column =
sumx(filter(Table, Table[City] = earlier(Table[City]) ), [Sales])
or
new measure=
sumx(filter(allselected(Table), Table[City] = max(Table[City]) ), [Sales])
@Giada90 ,
new column =
sumx(filter(Table, Table[City] = earlier(Table[City]) ), [Sales])
or
new measure=
sumx(filter(allselected(Table), Table[City] = max(Table[City]) ), [Sales])
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |