Hi everyone!
I'm working on the bonus content part of the PowerBI Accelerator Course for the Line & Column Chart, and I'm getting an error in PowerBI that I don't entirely understand.
In Step 56, you're required to copy/paste the following DAX in for a New Column:
Giving Level = // Assign a Giving Level range to each gift header record based on total gift amount (not split)
// Reference the Giving Level spreadsheet for min/max of each range
CALCULATE(VALUES('Giving Level'[Giving Level Description]),FILTER('Giving Level',Gift[Gift Amount]>= 'Giving Level'[Giving Level Min] && Gift <='Giving Level'[Giving Level Max]))
However, when I put this in, I receive the following error:
The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
I did some Google-ing, and I'm not exactly sure I'm ending up with any good idea for how to fix this - I've seen that a scalar value is supposed to return one single value? Which makes sense, I think, but I don't know how you're supposed to get that from multiple columns then.
Help?