Forum Discussion
Measure not recognizing columns
- 4 years ago
Nigel29 you can't reference a "naked" column in a measure without first supplying to it a row context (in most cases the straight forward solution is just wrap it up with an aggregation function). In your case you just need to add an aggregation, probably SUM.
So write: DIVIDE (SUM('Table'[Column1]),SUM('Table'[Column2]))
Nigel29 you can't reference a "naked" column in a measure without first supplying to it a row context (in most cases the straight forward solution is just wrap it up with an aggregation function). In your case you just need to add an aggregation, probably SUM.
So write: DIVIDE (SUM('Table'[Column1]),SUM('Table'[Column2]))
Would I need to alter the formula for it by affected by dates on a splicer
- SpartaBI4 years ago
Community Champion
Nigel29 It will pick up any filter in the way I wrote you.
There is no calculate their that change the filter context
- Nigel294 years agoNew Member
Thank you very much.
- SpartaBI4 years ago
Community Champion
Nigel29 my pleasure 🙂
Hey, check out my showcase report:
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543
Give it a thumbs up over there if you liked it 🙂