Forum Discussion
Measure not recognizing columns
- 7 years ago
If you reference a column in a measure, you must wrap the column in an aggregation function like MIN, MAX, SUM, AVERAGE, etc.
If you reference a column in a measure, you must wrap the column in an aggregation function like MIN, MAX, SUM, AVERAGE, etc.
- Anonymous5 years agoNot applicable
Any idea if there's a similar solution for string/text values?
I'm having a lot of trouble with creating logical expressions based on text in measure fields.
- Aymane4 years agoFrequent Visitor
Greg_Deckler I have the same issue but I'm not sure I understand your solution.
I'm trying to use Switch(True() to have conditions on a date column before some calculations, but it's not working as you can see below:
- Anonymous7 years agoNot applicable
Thanks for the reply, that makes a lot of sense now
- equity72524 years agoRegular Visitor
Where is the solution to this? Having the same problem.
- Anonymous4 years agoNot applicable
What does it mean to wrap them? I am having this issue as well.
- WulfieWolf4 years agoRegular Visitor
you have to do it like that:
Measure = sume(table[column])
- Anna1234563 years agoFrequent Visitor
Hello,
I have a question concerning your solution. I want to get the value of "visit24hrs" for today for each title in my report. I now used this formula:result = CALCULATE(SUM(AnalyticsView[Visits24h]), FILTER(ALL( AnalyticsView), (Date(2023,03,02) = AnalyticsView[Date])))
In my chart I use for Y Title and for X result. BUT then I get the same number (the summed result) for each Title.
Question: How can I display the result for an Item in my chart? Without the "sum" in the formula I am not able to use Visits24hrs in the measure (it says it can not regognize the column)