Forum Discussion
Pete37
8 years agoFrequent Visitor
Dynamic % return calculation based on selected date
Dear PBI users, I've recently started using Power BI Desktop and after a few more or less successful simple visualizations I've stucked with something more complex. My inputs are closing share price...
Pete37
8 years agoFrequent Visitor
Anonymous
8 years agoNot applicable
Pete37,
Do you need to select data range or single date value in the date slicer? And do you use Date field of calendar table to create the slicer?
Regards,
Lydia
- Pete378 years agoFrequent Visitor
Anonymous
I need a range to present it on the line chart. Yes I use Calendar Table to create the slicer.
- Anonymous8 years agoNot applicable
Change BASELINE_VALUE to the following:BASELINE_VALUE = CALCULATE( SUM('sheet1'[Closing price]); FILTER(ALL('sheet1'[Date]);'sheet1'[DATE]<=MAX('date'[Date]) && 'sheet1'[Date]>=MIN('date'[Date]) ))
Regards,
Lydia- Pete378 years agoFrequent Visitor
Anonymous
The new function has too few arguments. I am not sure how to fix it.