Forum Discussion

Rocky_Brown's avatar
Rocky_Brown
Helper I
3 years ago
Solved

Dax Help

I am creating a Dates Table that give me Good Friday dates to use in filtering my data.  I go into Modeling > New Table and create the following:

 

Years = Values('Date'Date.[Year])

I get the following years back Based off the existing Date table i created:

Years

2019

2020

2021

2022

2023

(Null)

 

I do not understand why this is giving me an extra Year as NULL.  Is there a way to pull the data without giving me the null value?

 

Any help would be appreciated.

 

Thank you.

 

 

  • Years = CALCULATETABLE(VALUES('Date'[Date].[Year]);NOT(ISBLANK('Date'[Date].[Year])))

    You can filter out the blank values.

3 Replies