Forum Discussion
Seemingly simple date issue...
Hi kincaids,
In the Fig3, the line in “Current Rentals by Year” chart is flat, which is caused by the current Rentals measure result in each year is same. How do you get the Current Rentals chart in Fig3? The orange line look normal.
For your Fig4, you select the contract date as Axis, the contract date column only including year in resurce data, right? If it is, please try to add filter, and check if it works fine.
Current Rentals = CALCULATE(COUNTROWS('Rental Accounts - scrental'),'Rental Accounts - scrental'[Return Date]=BLANK(),'Rental Accounts - scrental'[rnt_dunn]="P" || 'Rental Accounts - scrental'[rnt_dunn]="N",Filter(Rental Accounts - scrental,Rental Accounts - scrental[contract date]<=MAX(Calendar[Date])))
Best Regards,
Angelia
- kincaids9 years agoHelper II
I added names for each picture in my original post. Could you edit your previous post to reflect the image names and then post a short reply so I know you've done that? Thanks! I'm having a hard time following your though process...
- v-huizhn-msft9 years agoMicrosoft Employee
Hi kincaids,
Sorrr for inconvenience, I update the reply, please verify and feel free to ask if you have any question.
Best Regards,
Angelia- kincaids7 years agoHelper II
Well, things have changed - it took a couple years for me to get around to it, but I'm working on rebuilding my data, and this is still an issue. Again, I'm trying to get a line graph that shows how many current rentals we have at any given time over the past 6 years (and into the future). This is what it looks like right now:
Todays current rentals show up across all time, rather than the actual current rental count each moment in timecalendar DAX based on the same table the current rentals are taken fromcurrent parameters of the visualization in question
Your help in figuring out why it's showing today's current rental number across all time rather than what the current rental number actually was at each point in time would be greatly appreciated.