March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
So I have a very simple DAX but always get stuck in why it always doesn't accept columns non aggregated columns... I always face this error whether I try to "Add Column" or "New Measure" they both don't allow me to use non aggregated columns as they are. I get this error message: "A single value for column 'X' in table 'Query1' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result."
my intention was to create a loop to calculate the cumulative SUM (Using SUMX) and store it in column Z calculated from column Y at every point in Column X. So the value of column Z at X = column Y at current X value + column Y at all previous X values and this calculation is done at every X point.
This is my DAX should follow this logic (Table name is Query1, columns: X,Y,Z):
Solved! Go to Solution.
Not quite shore what you are after here bt i'm reading this as you want to bring a cell value from a previous row?
Have a look at the Offset function mentioned here. -- it's quite new.
https://learn.microsoft.com/en-us/dax/new-dax-functions
Not quite shore what you are after here bt i'm reading this as you want to bring a cell value from a previous row?
Have a look at the Offset function mentioned here. -- it's quite new.
https://learn.microsoft.com/en-us/dax/new-dax-functions
Any help is appreciated.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
91 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
73 | |
68 |