Forum Discussion
Anonymous
2 years agoNot applicable
The difference between the earliest two dates
Hello, I have the table shown, I need a measure (1) that calculates the difference between the earliest two dates and measure (2) how many times the price changed. https://docs.google.com/s...
- 2 years ago
Simple enough,
Cnt = CALCULATE( COUNTROWS( 'PRICE' ), 'PRICE'[#] <= MAXX( INDEX( 2, DISTINCT( 'PRICE' ), ORDERBY( 'PRICE'[Date], DESC ) ), 'PRICE'[#] ) ) - 1 - 2 years ago
Hi,
PBI file attached.
Hope this helps.
Ashish_Mathur
2 years agoSuper User
Hi,
PBI file attached.
Hope this helps.