Forum Discussion
thos123
10 years agoRegular Visitor
How i can code DAX for display year?
How i can code DAX for display year? Year (min month-max month) for this year Ex. 2015 (Jan-Oct) Thanks.
LarsSchreiber
10 years agoResponsive Resident
Hi thos123,
I am not sure I got your question right. You already have the year in both tables (date table and fact table). So where do you want to "display" the year?! In a (pivot) table?! In that case you don't need to code DAX at all. Just use the column "year" of your date table?!?!
Regards,
Lars
thos123
10 years agoRegular Visitor
Sorry for late answer.
I want to show month name in year label because the data is as of last month in 2015, not whole year.
Thanks.