Forum Discussion
JAVED
8 years agoHelper I
regarding display date
Hi! I have product column, date column and price column i need to divide the price column as start price and end price Start price the startingprice of the product in a period and end price is the ...
- 8 years ago
Hi JAVED,
You can create measures below:
StartPrice = CALCULATE(MIN('Table1'[price]),FILTER(ALL(Table1),'Table1'[Product]=MAX('Table1'[Product])))
EndPrice = CALCULATE(Max('Table1'[price]),FILTER(ALL(Table1),'Table1'[Product]=MAX('Table1'[Product])))
No.Revisions = var t=SUMMARIZE('Table1','Table1'[Product],'Table1'[date],"p",MAX('Table1'[price]))
return
COUNTX(t,[p])-1Please see attached pbix file.
Best Regards,
Qiuyun Yu
Ashish_Mathur
8 years agoSuper User
Hi,
How will one know the beginning and ending price if for a particular product, a month appear multiple times. For Bezel-FR there are two rows for August, 2014. So what should the last price be?