I am new to Power BI and would like to know how I can calculate the age of a customer based on the DOB from Table A and Date from Table B. Table B is a Date table which is used to select a date period to run the report. So the report runs on Month Year e.g run the report for August 2020 etc
I have tried to use datediff(dob,max(date)),year but i am getting the wrong results. E.g if a customer has birth date 01/08/1991 and i run the report for July 2020, the age should be 28 and not 29.
TIA