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.
Dear,
I'd like to truncate my date colum as function of the year. Namely, i'd like to return a column but with the only date in 2024.
Here below the expected results:
I'm waiting (refreshing the internet page) to your solution 😄
Solved! Go to Solution.
Hi,
You will need to create a calculated column
If you would like to display only date of that year, you can filter out the date when is blank in Filter pane as well.
Regards,
Proud to be a Super User! | |
Hi,
Create a Calendar Table with a relationship (Many to One and Single) from the Date column of your Fact Table to the Date column of the Calendar Table. In the Calendar Table, create a calculated column of Year. To a slicer, drag Year from the Calnedar Table and select 2024. To your Table visual, drag Date from the Calendar Table.
Hi,
You will need to create a calculated column
If you would like to display only date of that year, you can filter out the date when is blank in Filter pane as well.
Regards,
Proud to be a Super User! | |
Thanks a lot !