Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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])
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
81 | |
65 | |
62 |
User | Count |
---|---|
147 | |
116 | |
104 | |
88 | |
65 |