Forum Discussion
JVolk
8 years agoFrequent Visitor
Difference between Columns dynamically
Looking for a measure formula to dynamically calculate the difference between Qtr 3 and Qtr 4.
5 Replies
- Greg_DecklerCommunity Champion
Are Qtr 3 and Qtr 4 columns or measures?
If they are measures, you could just do:
Measure = [Qtr 4] - [Qtr 3]
If they are columns, then are these being summed or is there some other aggregation going on? Whatever the aggregation (let's assume SUM) then it would look like:
Measure = SUM([Qtr 4]) - SUM([Qtr 3])
Otherwise, there is not enough information to properly articulate a solution.
- JVolkFrequent Visitor
Sorry I should have been more specific. My columns are date fields summarized by quarter.
- Greg_DecklerCommunity Champion
So how are you getting a whole number value from a Date field? Can you post some sample data?