The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have a problem finding employees' upcoming birthdays.
I need to create DAX as below:
I have attached the sample PBIX here. Click here
Thanks
https://drive.google.com/file/d/1t5jhv97NZzEiAhhiizrqnVqUcDExkZXW/view?usp=share_link
try this version.
I created a table of unique values but created a value for month and day that could be sorted (dob2).
I sorted the primary dob value by dob2 in the new table.
set a relationship between the two tables on dob.
replaced the dob from customer in the visual with the dob from the new table.
sorted the visual on dob.
Hope this helps qith Q1.
if you create a second table with two columns (dd-mm & mm-dd), set a relationship between that and your name table where the dd-mm column resides. Then you can sort the dd-mm column in the name table by the mm-dd column in the new table. Do this in the calculated field editor.
User | Count |
---|---|
78 | |
77 | |
36 | |
32 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |