Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am tring to get max date according to date field -my mai objective is to get the closest date data to filter selected date.
to achive this i created a measure-1 which gets selected date and using that masure i found the date which are smaller to the selected date with measure-2 and then i get date to the fields which is having measure-2 value =1. in measure three and now i want max date from the date in measure 3 but as its a measure i can not use max function on it .
and i have tried setting coloumn but it gives inappropriate out put.
Measure 2 = SELECTEDVALUE('Date'[Date],TODAY())
Measure 4 = if([Measure 2]>=MIN(hello[Reporting Date]),1,0)
Measure 5 = IF([Measure 4]=1,CALCULATE(MAX(hello[try]),ALLSELECTED(hello[Loan Number])),0)
this is to get max value but it give overall max value.
Column = IF([Measure 4]=1,MAX(hello[asd]),0)
asd = IF([Measure 5]=hello[try],MAXA(hello[Reporting Date]),0)
try is just the copy of reporting date column.
i want row which are having 43931.
its the report
I want to get data according to filtered date like i have filtered date 15 apr 2020 then if the eaxct date not present reporting date then the closest date before to filtered data to be fetched. mostly the data we are getting on 10th or 5th of month.
like you can see image i have selected 15th in filter which i am getting through measure 2
Honestly... can't make heads or tails out of all of this...
Would you mind stating the problem in simpler terms and maybe adding some text data, or well thought out pictures?
Best
D
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |