Forum Discussion
Faber13
3 years agoHelper II
TABLE WITH LAST REGISTRATION
Guys, I have a table with records of invoices that are repeated over time, I need to make a distinct count only of the most recent date of the records, ignoring the rest. I believe the value is wrong...
- 3 years ago
Guys, I managed to solve it with the video below:
https://www.youtube.com/watch?v=hidJ5T_DYQ0
Anonymous
3 years agoNot applicable
Hi Faber13 ,
You can create a measure as below to get it:
Measure =
VAR _maxdate =
CALCULATE ( MAX ( 'table'[date] ), ALLSELECTED ( 'table' ) )
RETURN
CALCULATE (
DISTINCTCOUNT ( 'table'[invoice number] ),
FILTER ( ALLSELECTED ( 'table' ), 'table'[date] = _maxdate )
)
If the above one can't help you get the expected result, could you please provide some sample data in your tables (exclude sensitive data) with Text format, the formula of measure which apply on the card visual and visual settings. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Faber13
3 years agoHelper II
Guys, I managed to solve it with the video below:
https://www.youtube.com/watch?v=hidJ5T_DYQ0