Forum Discussion
Anonymous
5 years agoNot applicable
Find match in previous value
Hi, I'm looking for a solution for the below issue, I have a table where in every day I get new data post refresh, I want to check the data of a perticular column eg: Name in the below table and ...
- 5 years agoPrevious days Name exist? CC =VAR _currentdate = Data[Date]VAR _previousdaystablenamecolumn =SUMMARIZE ( FILTER ( Data, Data[Date] < _currentdate ), Data[Name] )RETURNIF ( Data[Name] IN _previousdaystablenamecolumn, "Yes", "No" )
Anonymous
5 years agoNot applicable
Thanks that works. I have a query regards to report.
If I have to create a measure to display the count as to number to names that has been found previously as of today (I want to consider the last refresh day or the recent date in date column for this calculation)
- Anonymous5 years agoNot applicable
Hi Anonymous,
Perhaps you can try to use today function to replace the variable with the current date and use it to calculate. Then the calculated result will auto changes based on system DateTime.
Notice: power bi data model does not include cache history records features, these results will be replaced every time the system datetime changes.
Regards,
Xiaoxin Sheng