The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi Folks,
I am working with a simple table 'Unit Prices' with 3 columns:
* Date
* Investment Name
* Unit Price
I am trying to show the change in value over time (line graph) of an initial investment of $10,000 (with no subsequent investments afterward). I have a slicer by date range as well as a linked date table.
Calculating the value of the investment at any point in time is done by determining the number of units purchased at the 'start date' (10,000 divide by the unit price at start date) multiplied by the unit price at the 'current date'.
I have created a measure to determine the earliest unit price selected:
Can you share some sample data and expected output. If possible please share a sample pbix file after removing sensitive information.Thanks.
My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
I have shared the pbix on google drive here: https://drive.google.com/open?id=1gNGWkgBJugLZaBxEyTY7SP5uRRbRXC-z
At the moment I have the chart displaying the unit prices over time - However, I would like the line graph to show the value of a $10,000 investment over time (taking into account the 'start' and 'end' dates of the date slicer).
Hi @Paulo84 ,
I am not clear your requirement, if possible, could you please explain "However, I would like the line graph to show the value of a $10,000 investment over time (taking into account the 'start' and 'end' dates of the date slicer). " to me? Please show me your expected output. Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
181 | |
88 | |
71 | |
48 | |
46 |