Forum Discussion
Disturbx
9 years agoFrequent Visitor
Calculating upcoming birthdays
Hi, I wanna try the possibility of showing upcoming birthdays, with birthdays today. With following; -Name -Birthday -New age This data is saved in Excel. Is this possible in powerbi ...
Disturbx
9 years agoFrequent Visitor
My data source is an Excel file. Which has the following fields; Name, Birthday and Age.
I want PowerBI to show the upcoming birthdays of the 7(or something) upcoming days.
So when its my birthday in the coming days i wanna show something like this
Upcoming birthdays
Tristan - 21 Oct. - Age 24
-
-
-
This far, I got some help;
Verjaardagen = VAR next = MINX( FILTER( Leerlingen; MONTH(Leerlingen[Verjaardag]) >= MONTH(TODAY()) && DAY(Leerlingen[Verjaardag]) >= DAY(TODAY()) ); CALCULATE( DATE( YEAR(TODAY()); MONTH(MIN(Leerlingen[Verjaardag])); DAY(MIN(Leerlingen[Verjaardag])) ) ) ) RETURN CONCATENATEX( FILTER( 'Leerlingen'; MONTH(Leerlingen[Verjaardag]) = MONTH(next) && DAY(Leerlingen[Verjaardag]) = DAY(next) ); FIRSTNONBLANK(Leerlingen[Naam]; 1); " " & UNICHAR(10) & " " )
Which hows all names for todays birthdays, but without age etc.