Below is a scenario I have in MMDDYYYY format
Start Date | End Date | Unit_Price | Quantity | TotalPrice |
1/1/2015 | 6/1/2015 | 200 | 1 | 1000 |
Consider the above is the sample of rental price of the product for the given period. Unit_price is the rental price for a month. From the start date and end date it constitutes to 5 months which would give the Total price/revenue of 1000 to the compay.
Now my company generates report monthly/many months together to find out how much a particular product has been generating.
I can create a start date filter using the filter chart and bar chart with months/Date in x-axis and unit_price in y-axis.
If I click on January in the filter my bar chart will map to the Start Date column for x-axis and Unit_Price for Y-axis. But what would be if I click for the months February or March or April or May since those months are not in either Start Date or End Date column ?
Sometimes my management would like to know the revenue for months from Feb to May (4 months). In that case the total revenue should be 800, Is there a way in PowerBI to do such calculations ?
Is there a way user can give the date(end date) and then calculate the period subtracting from the start date ?