Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213916

User input for the start date

$
0
0

Below is a scenario I have in MMDDYYYY format

Start DateEnd DateUnit_PriceQuantityTotalPrice
1/1/20156/1/201520011000
     

 

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 ?


Viewing all articles
Browse latest Browse all 213916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>